Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880 Commit: 28fc582cc9b7fc6ed6a9fbf9565a2b1e56eee880 Parent: 8ed07a1cce1530d2fd42e23c867a7c0c1170515a Author: Atsushi Nemoto <[EMAIL PROTECTED]> AuthorDate: Fri Jul 13 01:49:49 2007 +0900 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Thu Jul 12 17:41:20 2007 +0100
[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 <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- 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 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: - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html