linux-mips
[Top] [All Lists]

[PATCH 03/11] arch/mips/kernel/smtc.c: formatting of pointers in printk(

To: kernel-janitors@vger.kernel.org
Subject: [PATCH 03/11] arch/mips/kernel/smtc.c: formatting of pointers in printk()
From: Kulikov Vasiliy <segooon@gmail.com>
Date: Wed, 14 Jul 2010 22:01:42 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>, Chris Dearman <chris@mips.com>, "Robert P. J. Day" <rpjday@crashcourse.ca>, Rusty Russell <rusty@rustcorp.com.au>, André Goddard Rosa <andre.goddard@gmail.com>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=3F1T+FQHQ7AeDBBZadZ96Sc1sf4eSvcD9tZbSFHj628=; b=HzuKXdtTuJrmoxkywurqgG2Wcb+EIFHmUzPjUeOJz8QdazO4UdfZ8aaaPPHrikBYWP I13Dz8fPnfuCD3dEwe3qjJoe+ZzkLEt/5t2eIJRWL+N1AG4PLOunulsqFqpHa+H0zVSL axOWSJ1WAQxgtteg3ty2UtQbUvqJFFxp8v31Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=jwFtquRpwiwUVM5YBNRnEjSmP6FdYF/FCeFXHKl76umpaOFbjetWhNKoaBH902MxfA WRpgYieuk76hmqosZlw5gdMP1riAKQQJLLiGRrEBkUASEaPEBlJnUbkUhNCfRVTPn/IU 1qLE8iDD7wRkYCTxKbgwz5KLm4WOWD73+t0Yc=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Use %p instead of %08x in printk().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
 arch/mips/kernel/smtc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c
index a95dea5..cfeb2c1 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;
-- 
1.7.0.4


<Prev in Thread] Current Thread [Next in Thread>