Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH][MIPS] fix warning of printk format in mips_srs_init()
@ 2006-10-31  4:44 Yoichi Yuasa
  2006-10-31 13:51 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2006-10-31  4:44 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips

Hi Ralf,

This patch has fixed the warning of printk format in mips_srs_init().

arch/mips/kernel/traps.c:1115: warning: int format, long unsigned int arg (arg 2)

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/kernel/traps.c mips/arch/mips/kernel/traps.c
--- mips-orig/arch/mips/kernel/traps.c	2006-10-29 13:07:07.791518500 +0900
+++ mips/arch/mips/kernel/traps.c	2006-10-29 17:10:15.363553250 +0900
@@ -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 */
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-31 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31  4:44 [PATCH][MIPS] fix warning of printk format in mips_srs_init() Yoichi Yuasa
2006-10-31 13:51 ` Ralf Baechle

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