]> Pileus Git - ~andy/linux/blobdiff - arch/mips/kernel/traps.c
[MIPS] Sparse: Use NULL for pointer
[~andy/linux] / arch / mips / kernel / traps.c
index 80ea4fa95bd9b121b4b201e65f74e12b29dbb948..5e9fa83c4ef0adcaff30dd3fe6d4f239331d3b63 100644 (file)
@@ -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: