From 35a9c2ab3914a148b97a8df9cd7febafc7a07371 Mon Sep 17 00:00:00 2001 From: Vikas Chaudhary Date: Fri, 23 Aug 2013 03:40:20 -0400 Subject: [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 Signed-off-by: James Bottomley --- drivers/scsi/qla4xxx/ql4_nx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/scsi/qla4xxx') diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c index 53c759fc48a..d001202d356 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.c +++ b/drivers/scsi/qla4xxx/ql4_nx.c @@ -2765,6 +2765,7 @@ skip_nxt_entry: 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; } -- cgit v1.2.3-70-g09d2