kernel/sysctl.c: check return value after call proc_put_char() in __do_proc_doulongve...
authorChen Gang <gang.chen@asianux.com>
Tue, 12 Nov 2013 23:11:21 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:33 +0000 (12:09 +0900)
commit7833819d2e5b2a0189f6e9d445ba03f4d7ba2656
treee6fc6a60153b0f669e3c57c203666982f00fed0e
parent1310a5a99d900ee30b9f171146406bde0c6c2bd4
kernel/sysctl.c: check return value after call proc_put_char() in __do_proc_doulongvec_minmax()

Need to check the return value of proc_put_char(), as was done in
__do_proc_doulongvec_minmax().

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl.c