Commit 4fb7926b authored by Vinson Lee's avatar Vinson Lee Committed by Greg Kroah-Hartman

scsi: megaraid_sas: Do not log an error if FW successfully initializes.

[ Upstream commit fb1633d5 ]

Fixes: 2d2c2331 ("scsi: megaraid_sas: modified few prints in OCR and IOC INIT path")
Signed-off-by: default avatarVinson Lee <vlee@freedesktop.org>
Acked-by: default avatarShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af2cc1d2
......@@ -903,7 +903,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
goto fail_fw_init;
}
ret = 0;
return 0;
fail_fw_init:
megasas_return_cmd(instance, cmd);
......@@ -913,8 +913,8 @@ megasas_ioc_init_fusion(struct megasas_instance *instance)
IOCInitMessage, ioc_init_handle);
fail_get_cmd:
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment