Skip to content

Commit fb1633d

Browse files
vinsonleemartinkpetersen
authored andcommitted
scsi: megaraid_sas: Do not log an error if FW successfully initializes.
Fixes: 2d2c233 ("scsi: megaraid_sas: modified few prints in OCR and IOC INIT path") Signed-off-by: Vinson Lee <[email protected]> Acked-by: Shivasharan S <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 6667e6d commit fb1633d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/scsi/megaraid/megaraid_sas_fusion.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1124,12 +1124,12 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
11241124
goto fail_fw_init;
11251125
}
11261126

1127-
ret = 0;
1127+
return 0;
11281128

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

11341134
return ret;
11351135
}

0 commit comments

Comments
 (0)