James Bottomley 4ed381ee55 [SCSI] scsi_transport_spi: fix sense buffer size error
The code does this:

unsigned char sense[SCSI_SENSE_BUFFERSIZE];
...
scsi_normalize_sense(sense, sizeof(*sense), sshdr)

however the sizeof will return 1 not 96 which means the sense data will
have no valid ASC/ASCQ values.  Fix by putting the correct sense size.
The only affected case for this would have been the DV buffer sanity
check failure, which is fortunately quite rare.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-01-03 16:57:35 -06:00
..
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-11-22 14:57:56 +00:00
2006-11-22 12:06:44 -06:00
2006-06-30 19:25:36 +02:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-08-06 15:59:26 -05:00
2006-11-10 09:59:49 +09:00
2006-09-12 17:12:31 -05:00
2006-11-22 14:57:56 +00:00
2006-12-07 08:39:24 -08:00
2006-11-22 12:22:29 -06:00
2006-09-23 15:33:43 -05:00
2006-11-22 14:57:56 +00:00
2006-06-25 10:00:58 -07:00
2006-12-05 10:25:35 -06:00
2006-12-05 10:25:35 -06:00
2006-09-12 17:12:31 -05:00
2006-11-30 05:24:39 +01:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-10-25 15:14:09 -07:00
2006-12-19 08:33:11 +01:00
2006-08-06 15:59:26 -05:00
2006-12-07 08:39:25 -08:00
2006-12-08 08:28:49 -08:00
2006-03-23 07:38:09 -08:00
2006-12-08 08:28:49 -08:00
2006-06-29 11:06:30 -04:00
2006-12-05 11:33:58 -06:00
2006-11-15 16:43:50 -06:00
2006-10-25 15:12:03 -07:00