From 4b8bc0884620477aa479d4ed09a8adea73ac3520 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 8 Dec 2011 15:38:54 +1100 Subject: [PATCH] mm-add-extra-free-kbytes-tunable-update-checkpatch-fixes ERROR: trailing whitespace #98: FILE: mm/page_alloc.c:5303: + * free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so $ ERROR: trailing whitespace #103: FILE: mm/page_alloc.c:5307: +int free_kbytes_sysctl_handler(ctl_table *table, int write, $ ERROR: need consistent spacing around '*' (ctx:WxV) #103: FILE: mm/page_alloc.c:5307: +int free_kbytes_sysctl_handler(ctl_table *table, int write, ^ total: 3 errors, 0 warnings, 69 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/mm-add-extra-free-kbytes-tunable-update.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Rik van Riel Signed-off-by: Andrew Morton --- mm/page_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index abefb54df4d4..bf33d5f59e2f 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4949,11 +4949,11 @@ int __meminit init_per_zone_wmark_min(void) module_init(init_per_zone_wmark_min) /* - * free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so + * free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so * that we can call two helper functions whenever min_free_kbytes * or extra_free_kbytes changes. */ -int free_kbytes_sysctl_handler(ctl_table *table, int write, +int free_kbytes_sysctl_handler(ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos) { proc_dointvec(table, write, buffer, length, ppos); -- 2.39.5