Commit 0444b303 authored by James Morris's avatar James Morris Committed by Linus Torvalds

[PATCH] time: fix formatting in /proc/timer_list

Fix the print formatting of three unsigned long fields in /proc/timer_list,
which are currently being formatted as signed long.
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
Acked-by: default avatarIngo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e585bef8
...@@ -194,9 +194,9 @@ print_tickdevice(struct seq_file *m, struct tick_device *td) ...@@ -194,9 +194,9 @@ print_tickdevice(struct seq_file *m, struct tick_device *td)
return; return;
} }
SEQ_printf(m, "%s\n", dev->name); SEQ_printf(m, "%s\n", dev->name);
SEQ_printf(m, " max_delta_ns: %ld\n", dev->max_delta_ns); SEQ_printf(m, " max_delta_ns: %lu\n", dev->max_delta_ns);
SEQ_printf(m, " min_delta_ns: %ld\n", dev->min_delta_ns); SEQ_printf(m, " min_delta_ns: %lu\n", dev->min_delta_ns);
SEQ_printf(m, " mult: %ld\n", dev->mult); SEQ_printf(m, " mult: %lu\n", dev->mult);
SEQ_printf(m, " shift: %d\n", dev->shift); SEQ_printf(m, " shift: %d\n", dev->shift);
SEQ_printf(m, " mode: %d\n", dev->mode); SEQ_printf(m, " mode: %d\n", dev->mode);
SEQ_printf(m, " next_event: %Ld nsecs\n", SEQ_printf(m, " next_event: %Ld nsecs\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment