[SCSI] qla2xxx: Correct extended sense-data handling.
commit5544213be7b4fb693730106a6d70a8cc1aa7cdf6
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Fri, 23 Jul 2010 10:28:27 +0000 (23 15:28 +0500)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:06:10 +0000 (28 09:06 -0500)
treedce08f8b11c2a8a35ccbc929b269de1a228bc14a
parent0f2d962f4d120e93b4d74d13c2e8038e9e4358b9
[SCSI] qla2xxx: Correct extended sense-data handling.

Earlier implementation did not take into account the varying
sizes of data buffers returned from structures sts_entry_t and
sts_entry_24xx.  Sense-data after the 20th byte could be
incorrect.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_isr.c