]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
microblaze: Remove sparse error in traps.c
authorMichal Simek <monstr@monstr.eu>
Thu, 16 Apr 2009 09:10:07 +0000 (11:10 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 23 Apr 2009 14:09:17 +0000 (16:09 +0200)
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 <monstr@monstr.eu>
arch/microblaze/kernel/traps.c

index fbdc533c61e399ee33923ae0f9528a50828e8811..293ef486013aa9fa65b8f2204221615af22ffb38 100644 (file)
@@ -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;
 }