LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] time: fix formatting in /proc/timer_list
@ 2007-03-21 19:50 James Morris
2007-03-21 20:10 ` James Morris
0 siblings, 1 reply; 2+ messages in thread
From: James Morris @ 2007-03-21 19:50 UTC (permalink / raw)
To: tglx, mingo; +Cc: linux-kernel
Fix the print formatting of three unsigned long fields in
/proc/timer_list, which are currently being formatted as unsigned int.
Signed-off-by: James Morris <jmorris@namei.org>
---
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c
index f82c635..59df5e8 100644
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
@@ -194,9 +194,9 @@ print_tickdevice(struct seq_file *m, str
return;
}
SEQ_printf(m, "%s\n", dev->name);
- SEQ_printf(m, " max_delta_ns: %ld\n", dev->max_delta_ns);
- SEQ_printf(m, " min_delta_ns: %ld\n", dev->min_delta_ns);
- SEQ_printf(m, " mult: %ld\n", dev->mult);
+ SEQ_printf(m, " max_delta_ns: %lu\n", dev->max_delta_ns);
+ SEQ_printf(m, " min_delta_ns: %lu\n", dev->min_delta_ns);
+ SEQ_printf(m, " mult: %lu\n", dev->mult);
SEQ_printf(m, " shift: %d\n", dev->shift);
SEQ_printf(m, " mode: %d\n", dev->mode);
SEQ_printf(m, " next_event: %Ld nsecs\n",
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] time: fix formatting in /proc/timer_list
2007-03-21 19:50 [PATCH] time: fix formatting in /proc/timer_list James Morris
@ 2007-03-21 20:10 ` James Morris
0 siblings, 0 replies; 2+ messages in thread
From: James Morris @ 2007-03-21 20:10 UTC (permalink / raw)
To: tglx, mingo; +Cc: linux-kernel
On Wed, 21 Mar 2007, James Morris wrote:
> Fix the print formatting of three unsigned long fields in
> /proc/timer_list, which are currently being formatted as unsigned int.
^^^^^^^^^^
The last bit should be 'signed long'.
--
James Morris
<jmorris@namei.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-21 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-21 19:50 [PATCH] time: fix formatting in /proc/timer_list James Morris
2007-03-21 20:10 ` James Morris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).