From: Andrew Morton ERROR: do not initialise statics to 0 or NULL #37: FILE: kernel/capability.c:40: + static int warned = 0; total: 1 errors, 0 warnings, 60 lines checked Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Andrew G. Morgan Cc: Andrew Morgan Cc: Casey Schaufler Cc: Chris Wright Cc: James Morris Cc: Serge Hallyn Cc: Stephen Smalley Signed-off-by: Andrew Morton --- kernel/capability.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN kernel/capability.c~add-64-bit-capability-support-to-the-kernel-fix-modify-old-libcap-warning-message-checkpatch-fixes kernel/capability.c --- a/kernel/capability.c~add-64-bit-capability-support-to-the-kernel-fix-modify-old-libcap-warning-message-checkpatch-fixes +++ a/kernel/capability.c @@ -37,7 +37,7 @@ const kernel_cap_t __cap_init_eff_set = static void warn_legacy_capability_use(void) { - static int warned = 0; + static int warned; if (!warned) { char name[sizeof(current->comm)]; @@ -46,7 +46,6 @@ static void warn_legacy_capability_use(v get_task_comm(name, current)); warned = 1; } - return; } /* _