public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial ppc cleanup (3/3) remove a format printk warning
@ 2004-06-17 18:21 Vincent Hanquez
  0 siblings, 0 replies; only message in thread
From: Vincent Hanquez @ 2004-06-17 18:21 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Linus Torvalds, lkml

	Hi,
	
trivial format patch : nip is an unsigned long

Please apply,

Signed-off-by: Vincent Hanquez <tab@snarc.org>

--- linux-2.6.7/arch/ppc/kernel/~traps.c	2004-06-17 18:25:44.000000000 +0200
+++ linux-2.6.7/arch/ppc/kernel/traps.c	2004-06-17 18:25:51.000000000 +0200
@@ -646,7 +646,7 @@
 	/* The kernel has executed an altivec instruction without
 	   first enabling altivec.  Whinge but let it do it. */
 	if (++kernel_altivec_count < 10)
-		printk(KERN_ERR "AltiVec used in kernel (task=%p, pc=%x)\n",
+		printk(KERN_ERR "AltiVec used in kernel (task=%p, pc=%lx)\n",
 		       current, regs->nip);
 	regs->msr |= MSR_VEC;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-17 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-17 18:21 [PATCH] trivial ppc cleanup (3/3) remove a format printk warning Vincent Hanquez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox