From: Michal Simek Date: Thu, 16 Apr 2009 09:10:07 +0000 (+0200) Subject: microblaze: Remove sparse error in traps.c X-Git-Tag: v3.0~9391^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf7e9da4e70a9d4bf9dc5829ff854398e0e4b7f7;p=platform%2Fkernel%2Flinux-amlogic.git microblaze: Remove sparse error in traps.c CHECK arch/microblaze/kernel/traps.c arch/microblaze/kernel/traps.c:37:47: warning: Using plain integer as NULL pointer CC arch/microblaze/kernel/traps.o Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/traps.c b/arch/microblaze/kernel/traps.c index fbdc533..293ef48 100644 --- a/arch/microblaze/kernel/traps.c +++ b/arch/microblaze/kernel/traps.c @@ -34,7 +34,7 @@ static int kstack_depth_to_print = 24; static int __init kstack_setup(char *s) { - kstack_depth_to_print = strict_strtoul(s, 0, 0); + kstack_depth_to_print = strict_strtoul(s, 0, NULL); return 1; }