commit | e899aa823ad74860a17b541b0ad38f513728923d | [log] [tgz] |
---|---|---|
author | Pavel Machek <[email protected]> | Tue Jan 06 14:40:53 2009 -0800 |
committer | Linus Torvalds <[email protected]> | Tue Jan 06 15:59:12 2009 -0800 |
tree | 019c4a1b7baafe9967aa50cc49e809c11d39f944 | |
parent | ff083c8372f6312bb3a8c7f7b748920aeeb210c9 [diff] |
strict_strto* is not strict enough It decodes "\n" as 0, which is bad, because stray echo into backlight will turn your backlight off, etc... Signed-off-by: Pavel Machek <[email protected]> Cc: Yi Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>