lkml.org 
[lkml]   [2004]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] trivial ppc cleanup (3/3) remove a format printk warning
From
	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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.023 / U:17.752 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site