From 80a2adea8caf2aeae8865902e1317fd6da9b5f79 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 24 Aug 2016 09:14:37 +1000 Subject: [PATCH] sysctl-handle-error-writing-uint_max-to-u32-fields-checkpatch-fixes-checkpatch-fixes WARNING: A patch subject line should describe the change not the tool that found it #2: Subject: sysctl-handle-error-writing-uint_max-to-u32-fields-checkpatch-fixes WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #35: mechanically convert to the typical style using --fix or --fix-inplace. WARNING: please, no spaces at the start of a line #60: FILE: kernel/sysctl.c:2277: + return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL);$ WARNING: please, no spaces at the start of a line #69: FILE: kernel/sysctl.c:2296: + return do_proc_dointvec(table, write, buffer, lenp, ppos,$ total: 0 errors, 4 warnings, 17 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/sysctl-handle-error-writing-uint_max-to-u32-fields-checkpatch-fixes.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Subash Abhinov Kasiviswanathan Signed-off-by: Andrew Morton --- kernel/sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index d82f8a52ba8cdd..a13bbdaab47dc6 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -2274,7 +2274,7 @@ static int do_proc_dointvec(struct ctl_table *table, int write, int proc_dointvec(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { - return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); + return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); } /** @@ -2293,8 +2293,8 @@ int proc_dointvec(struct ctl_table *table, int write, int proc_douintvec(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { - return do_proc_dointvec(table, write, buffer, lenp, ppos, - do_proc_douintvec_conv, NULL); + return do_proc_dointvec(table, write, buffer, lenp, ppos, + do_proc_douintvec_conv, NULL); } /*