Skip to content

Commit

Permalink
microblaze: Remove sparse error in traps.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Simek committed Apr 23, 2009
1 parent 2eba318 commit bf7e9da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bf7e9da

Please sign in to comment.