[SCSI] qla4xxx: Driver not able to collect minidump for ISP84xx
authorTej Parkash <tej.parkash@qlogic.com>
Mon, 16 Dec 2013 11:49:44 +0000 (06:49 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:14 +0000 (10:19 -0700)
commit58e2bbe9851668a031afc678433040f6eaea4cb3
tree7ae31c4c299f9607e834c2b72aae30351c1a74d9
parent61d9a2b61490f6e121abbe6275ac93cf608f087e
[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 <tej.parkash@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_nx.c