Revision 68673afd443c5eeb4cebfb9026e3675f43d79f2b authored by Richard Purdie on 15 May 2006, 16:44:15 UTC, committed by Linus Torvalds on 15 May 2006, 18:20:56 UTC
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>
1 parent a8d2e7d
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 237 bytes |
compat.c | -rw-r--r-- | 17.3 KB |
compat_mq.c | -rw-r--r-- | 4.0 KB |
mqueue.c | -rw-r--r-- | 29.2 KB |
msg.c | -rw-r--r-- | 18.6 KB |
msgutil.c | -rw-r--r-- | 2.4 KB |
sem.c | -rw-r--r-- | 33.2 KB |
shm.c | -rw-r--r-- | 21.8 KB |
util.c | -rw-r--r-- | 17.1 KB |
util.h | -rw-r--r-- | 2.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...