Commit eaa1809b authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

kernel/latencytop.c: convert seq_printf to seq_puts

This patch also fixes one function declaration over 80 characters.
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b9e5db6d
...@@ -88,7 +88,8 @@ static void clear_global_latency_tracing(void) ...@@ -88,7 +88,8 @@ static void clear_global_latency_tracing(void)
} }
static void __sched static void __sched
account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat) account_global_scheduler_latency(struct task_struct *tsk,
struct latency_record *lat)
{ {
int firstnonnull = MAXLR + 1; int firstnonnull = MAXLR + 1;
int i; int i;
...@@ -255,7 +256,7 @@ static int lstats_show(struct seq_file *m, void *v) ...@@ -255,7 +256,7 @@ static int lstats_show(struct seq_file *m, void *v)
break; break;
seq_printf(m, " %ps", (void *)bt); seq_printf(m, " %ps", (void *)bt);
} }
seq_printf(m, "\n"); seq_puts(m, "\n");
} }
} }
return 0; return 0;
......
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