Skip to content

Commit 35a9c2a

Browse files
Vikas ChaudharyJames Bottomley
authored andcommitted
[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>
1 parent 4812d07 commit 35a9c2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/qla4xxx/ql4_nx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2765,6 +2765,7 @@ static int qla4_8xxx_collect_md_data(struct scsi_qla_host *ha)
27652765
ql4_printk(KERN_INFO, ha,
27662766
"Dump data mismatch: Data collected: [0x%x], total_data_size:[0x%x]\n",
27672767
data_collected, ha->fw_dump_size);
2768+
rval = QLA_ERROR;
27682769
goto md_failed;
27692770
}
27702771

0 commit comments

Comments
 (0)