From 58e2bbe9851668a031afc678433040f6eaea4cb3 Mon Sep 17 00:00:00 2001 From: Tej Parkash Date: Mon, 16 Dec 2013 06:49:44 -0500 Subject: [SCSI] qla4xxx: Driver not able to collect minidump for ISP84xx Issue: minidump data collection fails as driver reports data mismatch Fix: When the driver encounters a new entry type that it cannot process, it should just skip the entry and adjust the total buffer size by subtracting the skipped bytes from it. This is to ensure that there is no data mismatch because of the new entries. Signed-off-by: Tej Parkash Signed-off-by: Vikas Chaudhary Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- drivers/scsi/qla4xxx/ql4_def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/scsi/qla4xxx/ql4_def.h') diff --git a/drivers/scsi/qla4xxx/ql4_def.h b/drivers/scsi/qla4xxx/ql4_def.h index c2deaa008558..73a502288bde 100644 --- a/drivers/scsi/qla4xxx/ql4_def.h +++ b/drivers/scsi/qla4xxx/ql4_def.h @@ -769,6 +769,7 @@ struct scsi_qla_host { uint32_t fw_dump_capture_mask; void *fw_dump_tmplt_hdr; uint32_t fw_dump_tmplt_size; + uint32_t fw_dump_skip_size; struct completion mbx_intr_comp; -- cgit v1.2.3-55-g7522