mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 09:31:50 +00:00
[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>
This commit is contained in:
parent
8ed07a1cce
commit
28fc582cc9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user