forked from luck/tmp_suning_uos_patched
d39b7dd1dc
Not a single line of actual code in the function was really fundamentally correct. Problems ranged from lack of proper range checking, to removing the last character written (which admittedly is usually '\n'), to not accepting hex numbers even though the 'show' routine would show the data in that format. This tries to do better. Acked-by: Michael Buesch <mb@bu3sch.de> Tested-and-acked-by: Jack Steiner <steiner@sgi.com> Cc: stable@kernel.org Cc: Jiri Kosina <jkosina@suse.cz> Cc: Michael Gilbert <michael.s.gilbert@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
c2port | ||
cb710 | ||
eeprom | ||
hdpuftrs | ||
ibmasm | ||
sgi-gru | ||
sgi-xp | ||
atmel_pwm.c | ||
atmel_tclib.c | ||
atmel-ssc.c | ||
enclosure.c | ||
ep93xx_pwm.c | ||
hpilo.c | ||
hpilo.h | ||
ics932s401.c | ||
ioc4.c | ||
isl29003.c | ||
Kconfig | ||
kgdbts.c | ||
lkdtm.c | ||
Makefile | ||
phantom.c | ||
tifm_7xx1.c | ||
tifm_core.c |