All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel/time/tick-sched.c: fix warning of printk's argument format
@ 2009-10-08 14:46 Wu Zhangjin
  2009-10-08 15:03 ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: Wu Zhangjin @ 2009-10-08 14:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, Wu Zhangjin

This patch will fix the following warning:

kernel/time/tick-sched.c: In function 'tick_nohz_stop_sched_tick':
kernel/time/tick-sched.c:261: warning: format '%02x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 kernel/time/tick-sched.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index e0f59a2..26370b0 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -257,7 +257,7 @@ void tick_nohz_stop_sched_tick(int inidle)
 		static int ratelimit;
 
 		if (ratelimit < 10) {
-			printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n",
+			printk(KERN_ERR "NOHZ: local_softirq_pending %02lx\n",
 			       local_softirq_pending());
 			ratelimit++;
 		}
-- 
1.6.2.1


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

end of thread, other threads:[~2009-10-09 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 14:46 [PATCH] kernel/time/tick-sched.c: fix warning of printk's argument format Wu Zhangjin
2009-10-08 15:03 ` Linus Torvalds
2009-10-08 15:31   ` Wu Zhangjin
2009-10-09  6:56     ` Yong Zhang
2009-10-09 10:28   ` Ralf Baechle
2009-10-09 10:41     ` [PATCH] IRQ: Change __softirq_pending to unsigned int in asm-generic/hardirq.h Ralf Baechle
     [not found]   ` <200910091542.29457.arnd@arndb.de>
2009-10-09 21:41     ` [PATCH] kernel/time/tick-sched.c: fix warning of printk's argument format Helge Deller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.