linux/drivers
Michael Buesch e33761e6f2 ssb: Fix range check in sprom write
The range check in the sprom image parser hex2sprom() is broken.
One sprom word is 4 hex characters.
This fixes the check and also adds much better sanity checks to the code.
We better make sure the image is OK by doing some sanity checks to avoid
bricking the device by accident.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-23 17:05:41 -05:00
..
accessibility
acpi
amba
ata
atm drivers/atm/solos-pci.c: fix warning/bug, clean up code 2009-11-18 05:03:32 -08:00
auxdisplay
base
block
bluetooth
cdrom
char
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire
firmware
gpio
gpu
hid
hwmon
i2c
ide
idle
ieee1394
ieee802154 fakehard: mlme_ops->get_phy implementation 2009-11-06 14:32:20 +03:00
infiniband
input
isdn Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-17 00:05:02 -08:00
leds
lguest
macintosh
mca
md
media
memstick
message
mfd
misc iwmc3200top: simplify the driver version 2009-11-15 22:08:31 -08:00
mmc
mtd
net rndis_wlan: disable stall workaround 2009-11-23 17:05:40 -05:00
nubus
of
oprofile
parisc parisc: led: Use for_each_netdev_rcu() 2009-11-10 20:54:43 -08:00
parport
pci
pcmcia
platform
pnp
power
pps
ps3
rapidio
regulator
rtc
s390 net/s390 drivers: add missing 'const' attribute 2009-11-17 06:47:02 -08:00
sbus
scsi
serial Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-06 00:55:55 -08:00
sfi
sh
sn
spi
ssb ssb: Fix range check in sprom write 2009-11-23 17:05:41 -05:00
staging znet: fix build failure from i82593.h relocation 2009-11-17 10:16:32 -05:00
tc
telephony
thermal
uio
usb
uwb
video
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile