diff options
author | Michal Simek <monstr@monstr.eu> | 2009-04-16 05:10:07 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-04-23 10:09:17 -0400 |
commit | bf7e9da4e70a9d4bf9dc5829ff854398e0e4b7f7 (patch) | |
tree | 447861a7806b13b9099b4472068ae62263989d42 /arch/microblaze/kernel | |
parent | 2eba318e0db1114726e69660d6b9e1bd59b10ba1 (diff) |
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 <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/traps.c b/arch/microblaze/kernel/traps.c index fbdc533c61e3..293ef486013a 100644 --- a/arch/microblaze/kernel/traps.c +++ b/arch/microblaze/kernel/traps.c | |||
@@ -34,7 +34,7 @@ static int kstack_depth_to_print = 24; | |||
34 | 34 | ||
35 | static int __init kstack_setup(char *s) | 35 | static int __init kstack_setup(char *s) |
36 | { | 36 | { |
37 | kstack_depth_to_print = strict_strtoul(s, 0, 0); | 37 | kstack_depth_to_print = strict_strtoul(s, 0, NULL); |
38 | 38 | ||
39 | return 1; | 39 | return 1; |
40 | } | 40 | } |