Skip to content

Commit

Permalink
timer_list: Fix printk format strings
Browse files Browse the repository at this point in the history
This makes sure printk format strings contain no more than a single
line.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Vegard Nossum authored and Thomas Gleixner committed Oct 29, 2007
1 parent 64e38eb commit 129f1d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kernel/time/timer_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now)
struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu);
int i;

SEQ_printf(m, "\ncpu: %d\n", cpu);
SEQ_printf(m, "\n");
SEQ_printf(m, "cpu: %d\n", cpu);
for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) {
SEQ_printf(m, " clock %d:\n", i);
print_base(m, cpu_base->clock_base + i, now);
Expand Down Expand Up @@ -184,7 +185,8 @@ print_tickdevice(struct seq_file *m, struct tick_device *td)
{
struct clock_event_device *dev = td->evtdev;

SEQ_printf(m, "\nTick Device: mode: %d\n", td->mode);
SEQ_printf(m, "\n");
SEQ_printf(m, "Tick Device: mode: %d\n", td->mode);

SEQ_printf(m, "Clock Event Device: ");
if (!dev) {
Expand Down

0 comments on commit 129f1d2

Please sign in to comment.