MIPS: SMTC: Use %p to format pointers
Kulikov Vasiliy [Wed, 14 Jul 2010 18:01:42 +0000 (22:01 +0400)]
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 a95dea5..cfeb2c1 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;