1
linux/drivers/misc/sgi-gru
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
..
gru_instructions.h
gru.h
grufault.c
grufile.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
gruhandles.c
gruhandles.h
grukdump.c
grukservices.c
grukservices.h
grulib.h
grumain.c
gruprocfs.c sgi-gru: decrapfiy options_write() function 2009-11-05 10:48:30 -08:00
grutables.h const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
grutlbpurge.c
Makefile