Home
last modified time | relevance | path

Searched hist:e33761e6f23881de9f3ee77cc2204ab2e26f3d9a (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/ssb/
H A Dsprom.cdiff e33761e6f23881de9f3ee77cc2204ab2e26f3d9a Mon Nov 23 20:58:06 CET 2009 Michael Buesch <mb@bu3sch.de> 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>