mirror of https://gitee.com/openkylin/linux.git
[SCSI] qla2xxx: Honor execute firmware failures.
If the execute firmware command fails we do not stop the rest of the initialization process which will continue to fail so if we encounter an error simply short circuit the process. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
a324031c43
commit
3b6e5b9d5f
|
@ -1694,6 +1694,8 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
|
|||
if (!fw_major_version && ql2xallocfwdump
|
||||
&& !(IS_P3P_TYPE(ha)))
|
||||
qla2x00_alloc_fw_dump(vha);
|
||||
} else {
|
||||
goto failed;
|
||||
}
|
||||
} else {
|
||||
ql_log(ql_log_fatal, vha, 0x00cd,
|
||||
|
|
Loading…
Reference in New Issue