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
..
acorn
acpi
amba
ata [PATCH] libata: fix combined mode 2007-01-02 08:20:51 -08:00
atm
base
block [PATCH] cciss: build with PROC_FS=n 2006-12-30 10:56:42 -08:00
bluetooth
cdrom
char [PATCH] Char: isicom, eliminate spinlock recursion 2006-12-30 10:55:55 -08:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firmware
hid
hwmon
i2c
ide [PATCH] PIIX/SLC90E66: PIO mode fallback fix 2006-12-30 10:56:43 -08:00
ieee1394 ieee1394: sbp2: fix bogus dma mapping 2006-12-30 14:26:59 +01:00
infiniband [PATCH] IB/mthca: Fix FMR breakage caused by kmemdup() conversion 2006-12-30 10:55:55 -08:00
input [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
isdn
kvm [PATCH] kvm: fix GFP_KERNEL allocation in atomic section in kvm_dev_ioctl_create_vcpu() 2006-12-30 10:56:44 -08:00
leds
macintosh [PATCH] Fix compilation of via-pmu-backlight 2006-12-30 10:56:41 -08:00
mca
md
media V4L/DVB (5010): Cx88: Fix leadtek_eeprom tagging 2006-12-27 14:23:58 -02:00
message
mfd
misc
mmc
mtd [PATCH] SPI/MTD: mtd_dataflash oops prevention 2006-12-30 10:56:42 -08:00
net Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2006-12-29 10:03:54 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] pci/probe: fix macro that confuses kernel-doc 2006-12-30 10:55:55 -08:00
pcmcia
pnp
ps3
rapidio
rtc
s390 [S390] cio: fix stsch_reset. 2006-12-28 00:35:36 +01:00
sbus
scsi [SCSI] scsi_transport_spi: fix sense buffer size error 2007-01-03 16:57:35 -06:00
serial [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
sh
sn
spi [PATCH] spi_s3c24xx_gpio: use right header 2006-12-30 10:56:43 -08:00
tc
telephony
usb [PATCH] make fn_keys work again on power/macbooks 2006-12-30 10:55:55 -08:00
video [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
w1
zorro
Kconfig
Makefile