From: Andrew Morton ERROR: do not initialise statics to 0 or NULL #73: FILE: arch/h8300/kernel/traps.c:101: + static int diecount = 0; total: 1 errors, 0 warnings, 91 lines checked ./patches/h8300-generic_bug-support.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: Yoshinori Sato Signed-off-by: Andrew Morton --- arch/h8300/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/h8300/kernel/traps.c~h8300-generic_bug-support-checkpatch-fixes arch/h8300/kernel/traps.c --- a/arch/h8300/kernel/traps.c~h8300-generic_bug-support-checkpatch-fixes +++ a/arch/h8300/kernel/traps.c @@ -98,7 +98,7 @@ static void dump(struct pt_regs *fp) void die(char *str, struct pt_regs *fp, unsigned long err) { - static int diecount = 0; + static int diecount; oops_enter(); _