aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-07-13 01:49:49 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-07-12 17:41:20 +0100
commit28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880 (patch)
tree13e8b08b57e5bc91ad43d50475faf7bde0b98c74 /arch/mips/kernel
parent8ed07a1cce1530d2fd42e23c867a7c0c1170515a (diff)
downloadkernel_samsung_tuna-28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880.zip
kernel_samsung_tuna-28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880.tar.gz
kernel_samsung_tuna-28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880.tar.bz2
[MIPS] Sparse: Use NULL for pointer
This fixes a sparse warning: arch/mips/kernel/traps.c:376:44: warning: Using plain integer as NULL pointer Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 80ea4fa..5e9fa83 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -373,7 +373,7 @@ asmlinkage void do_be(struct pt_regs *regs)
action = MIPS_BE_FIXUP;
if (board_be_handler)
- action = board_be_handler(regs, fixup != 0);
+ action = board_be_handler(regs, fixup != NULL);
switch (action) {
case MIPS_BE_DISCARD: