diff options
| author | Richard Purdie <rpurdie@rpsys.net> | 2006-05-15 09:44:15 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-15 11:20:56 -0700 | 
| commit | 68673afd443c5eeb4cebfb9026e3675f43d79f2b (patch) | |
| tree | b8350ec63cee168284b35016aa097334c215d633 /fs/proc/array.c | |
| parent | a8d2e7d95229db9999682113bfac40b49978f212 (diff) | |
[PATCH] Backlight/LCD Class: Fix sysfs _store error handling
The backlight and LCD class _store functions currently accept values like "34
some random strings" without error.  This corrects them to return -EINVAL if
the value is not numeric with an optional byte of trailing whitespace.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
