original_kernel/drivers/misc
Linus Torvalds d39b7dd1dc sgi-gru: decrapfiy options_write() function
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>
2009-11-05 10:48:30 -08:00
..
c2port
cb710
eeprom max6875: Discard obsolete detect method 2009-10-04 22:53:41 +02:00
hdpuftrs
ibmasm headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
sgi-gru sgi-gru: decrapfiy options_write() function 2009-11-05 10:48:30 -08:00
sgi-xp
Kconfig
Makefile
atmel-ssc.c
atmel_pwm.c
atmel_tclib.c
enclosure.c
ep93xx_pwm.c
hpilo.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
kgdbts.c
lkdtm.c kprobes: use do_IRQ() in lkdtm 2009-09-23 07:39:27 -07:00
phantom.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
tifm_7xx1.c
tifm_core.c