diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-07-13 01:49:49 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-12 17:41:20 +0100 |
commit | 28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880 (patch) | |
tree | 13e8b08b57e5bc91ad43d50475faf7bde0b98c74 /arch/mips | |
parent | 8ed07a1cce1530d2fd42e23c867a7c0c1170515a (diff) |
[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')
-rw-r--r-- | arch/mips/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 80ea4fa95bd9..5e9fa83c4ef0 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: |