Files
linux/drivers
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
..
2007-01-02 08:20:51 -08:00
2006-12-30 10:56:42 -08:00
2006-12-13 10:11:25 -05:00
2006-12-10 09:55:40 -08:00
…
2006-12-07 08:39:24 -08:00
2006-10-11 11:14:25 -07:00
2006-12-11 12:43:35 +01:00
2006-12-11 13:49:53 +11:00
2006-10-03 22:31:37 +02:00
2006-12-28 00:35:36 +01:00
…
2006-10-17 08:18:42 -07:00
2006-12-08 08:28:57 -08:00
2006-12-13 09:05:48 -08:00
2006-12-08 08:28:50 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:57:22 -08:00