MIPS: SMTC: Use %p to format pointers
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 14 Jul 2010 18:01:42 +0000 (22:01 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:26 +0000 (13:26 +0100)
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>
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;