提交 eaa1809b 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

kernel/latencytop.c: convert seq_printf to seq_puts

This patch also fixes one function declaration over 80 characters.
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册