Skip to content

Commit 129f1d2

Browse files
vegardKAGA-KOKO
authored andcommitted
timer_list: Fix printk format strings
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>
1 parent 64e38eb commit 129f1d2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎kernel/time/timer_list.c‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now)
129129
struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu);
130130
int i;
131131

132-
SEQ_printf(m, "\ncpu: %d\n", cpu);
132+
SEQ_printf(m, "\n");
133+
SEQ_printf(m, "cpu: %d\n", cpu);
133134
for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) {
134135
SEQ_printf(m, " clock %d:\n", i);
135136
print_base(m, cpu_base->clock_base + i, now);
@@ -184,7 +185,8 @@ print_tickdevice(struct seq_file *m, struct tick_device *td)
184185
{
185186
struct clock_event_device *dev = td->evtdev;
186187

187-
SEQ_printf(m, "\nTick Device: mode: %d\n", td->mode);
188+
SEQ_printf(m, "\n");
189+
SEQ_printf(m, "Tick Device: mode: %d\n", td->mode);
188190

189191
SEQ_printf(m, "Clock Event Device: ");
190192
if (!dev) {

0 commit comments

Comments
 (0)