aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKulikov Vasiliy <[email protected]>2010-07-14 22:01:42 +0400
committerRalf Baechle <[email protected]>2010-08-05 13:26:26 +0100
commitfa90c87297a1bebd8356e41d71518b37ada56583 (patch)
treee3d829268e8a2b213a39e1f1fb6402d1d48aeadb
parente608aadd17b2430ad9f6c412311bfcc120222ae3 (diff)
MIPS: SMTC: Use %p to format pointers
While at it, drop 0x prefix. Signed-off-by: Kulikov Vasiliy <[email protected]> To: [email protected] Cc: Chris Dearman <[email protected]> Cc: "Robert P. J. Day" <[email protected]> Cc: Rusty Russell <[email protected]> Cc: AndrĂ© Goddard Rosa <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/1458/ Signed-off-by: Ralf Baechle <[email protected]>
-rw-r--r--arch/mips/kernel/smtc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c
index a95dea5459c4..cfeb2c155896 100644
--- a/arch/mips/kernel/smtc.c
+++ b/arch/mips/kernel/smtc.c
@@ -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;