Skip to content

Commit

Permalink
scsi: megaraid_sas: Do not log an error if FW successfully initializes.
Browse files Browse the repository at this point in the history
Fixes: 2d2c233 ("scsi: megaraid_sas: modified few prints in OCR and IOC INIT path")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Acked-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Vinson Lee authored and Martin K. Petersen committed Apr 19, 2018
1 parent 6667e6d commit fb1633d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/scsi/megaraid/megaraid_sas_fusion.c
Original file line number Diff line number Diff line change
Expand Up @@ -1124,12 +1124,12 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
goto fail_fw_init;
}

ret = 0;
return 0;

fail_fw_init:
dev_err(&instance->pdev->dev,
"Init cmd return status %s for SCSI host %d\n",
ret ? "FAILED" : "SUCCESS", instance->host->host_no);
"Init cmd return status FAILED for SCSI host %d\n",
instance->host->host_no);

return ret;
}
Expand Down

0 comments on commit fb1633d

Please sign in to comment.