MIPS: SMTC: Use %p to format pointers
authorKulikov Vasiliy <[email protected]>
Wed, 14 Jul 2010 18:01:42 +0000 (22:01 +0400)
committerRalf Baechle <[email protected]>
Thu, 5 Aug 2010 12:26:26 +0000 (13:26 +0100)
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]>
arch/mips/kernel/smtc.c

index a95dea5459c4d5034514ae68a8134d3bb2eb578d..cfeb2c1558967a540df6be261478df57c73a440f 100644 (file)
@@ -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;