Skip to content

Commit

Permalink
MIPS: SMTC: Use %p to format pointers
Browse files Browse the repository at this point in the history
While at it, drop 0x prefix.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
To: kernel-janitors@vger.kernel.org
Cc: Chris Dearman <chris@mips.com>
Cc: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: André Goddard Rosa <andre.goddard@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1458/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Kulikov Vasiliy authored and Ralf Baechle committed Aug 5, 2010
1 parent e608aad commit fa90c87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/kernel/smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,8 +975,7 @@ void ipi_decode(struct smtc_ipi *pipi)
ipi_call_interrupt();
break;
default:
printk("Impossible SMTC IPI Argument 0x%x\n",
(int)arg_copy);
printk("Impossible SMTC IPI Argument %p\n", arg_copy);
break;
}
break;
Expand Down

0 comments on commit fa90c87

Please sign in to comment.