From: Vikas Chaudhary <[email protected]>

Return error from function qla4_8xxx_collect_md_data()
if minidump data collection fails.

Signed-off-by: Vikas Chaudhary <[email protected]>
---
 drivers/scsi/qla4xxx/ql4_nx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c
index 53c759f..d001202 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;
        }
 
-- 
1.8.2.GIT

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to