Skip to content

Commit e9ac1f0

Browse files
akpm00hnaz
authored andcommitted
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) torvalds#35: mechanically convert to the typical style using --fix or --fix-inplace. WARNING: please, no spaces at the start of a line torvalds#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 torvalds#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 <subashab@codeaurora.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent fdc987f commit e9ac1f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/sysctl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2274,7 +2274,7 @@ static int do_proc_dointvec(struct ctl_table *table, int write,
22742274
int proc_dointvec(struct ctl_table *table, int write,
22752275
void __user *buffer, size_t *lenp, loff_t *ppos)
22762276
{
2277-
return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL);
2277+
return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL);
22782278
}
22792279

22802280
/**
@@ -2293,8 +2293,8 @@ int proc_dointvec(struct ctl_table *table, int write,
22932293
int proc_douintvec(struct ctl_table *table, int write,
22942294
void __user *buffer, size_t *lenp, loff_t *ppos)
22952295
{
2296-
return do_proc_dointvec(table, write, buffer, lenp, ppos,
2297-
do_proc_douintvec_conv, NULL);
2296+
return do_proc_dointvec(table, write, buffer, lenp, ppos,
2297+
do_proc_douintvec_conv, NULL);
22982298
}
22992299

23002300
/*

0 commit comments

Comments
 (0)