[PATCH 0/2] kernel/sysctl.c: about the return value after fail call

From: Chen Gang
Date: Mon Aug 19 2013 - 23:38:41 EST


Patch 1 for bug fix: check return value after call proc_put_char() in
__do_proc_doulongvec_minmax()

Patch 2 for simplify code : Simplify code for C code readers.


Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
---
kernel/sysctl.c | 30 +++++++++++++++++-------------
1 files changed, 17 insertions(+), 13 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/