Skip to content

Commit

Permalink
sysctl-handle-error-writing-uint_max-to-u32-fields-checkpatch-fixes-c…
Browse files Browse the repository at this point in the history
…heckpatch-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>
  • Loading branch information
akpm00 authored and hnaz committed Aug 23, 2016
1 parent 5d72b02 commit bb04c12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand All @@ -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);
}

/*
Expand Down

0 comments on commit bb04c12

Please sign in to comment.