projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed07a1
)
[MIPS] Sparse: Use NULL for pointer
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Thu, 12 Jul 2007 16:49:49 +0000
(
01:49
+0900)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 12 Jul 2007 16:41:20 +0000
(17:41 +0100)
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>
arch/mips/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/traps.c
b/arch/mips/kernel/traps.c
index
80ea4fa
..
5e9fa83
100644
(file)
--- 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: