mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 03:30:54 +07:00
[SCSI] qla4xxx: Return error if minidump data collection fails
Return error from function qla4_8xxx_collect_md_data() if minidump data collection fails. Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
4812d070f3
commit
35a9c2ab39
@ -2765,6 +2765,7 @@ static int qla4_8xxx_collect_md_data(struct scsi_qla_host *ha)
|
||||
ql4_printk(KERN_INFO, ha,
|
||||
"Dump data mismatch: Data collected: [0x%x], total_data_size:[0x%x]\n",
|
||||
data_collected, ha->fw_dump_size);
|
||||
rval = QLA_ERROR;
|
||||
goto md_failed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user