From: Yoichi Yuasa Date: Tue, 31 Oct 2006 04:44:38 +0000 (+0900) Subject: [MIPS] Fix warning of printk format in mips_srs_init() X-Git-Tag: v2.6.19-rc5~93 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3ab0f40f333007eb31dc1e08f578ec224c7d71c2;p=linux-2.6-omap-h63xx.git [MIPS] Fix warning of printk format in mips_srs_init() arch/mips/kernel/traps.c:1115: warning: int format, long unsigned int arg (arg 2) Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index cce8313ec27..9fda1b8be3a 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1111,7 +1111,7 @@ static struct shadow_registers { static void mips_srs_init(void) { shadow_registers.sr_supported = ((read_c0_srsctl() >> 26) & 0x0f) + 1; - printk(KERN_INFO "%d MIPSR2 register sets available\n", + printk(KERN_INFO "%ld MIPSR2 register sets available\n", shadow_registers.sr_supported); shadow_registers.sr_allocated = 1; /* Set 0 used by kernel */ }