mirror of https://gitee.com/openkylin/linux.git
kernel/latencytop.c: convert seq_printf to seq_puts
This patch also fixes one function declaration over 80 characters. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b9e5db6d2b
commit
eaa1809b90
|
@ -88,7 +88,8 @@ static void clear_global_latency_tracing(void)
|
|||
}
|
||||
|
||||
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 i;
|
||||
|
@ -255,7 +256,7 @@ static int lstats_show(struct seq_file *m, void *v)
|
|||
break;
|
||||
seq_printf(m, " %ps", (void *)bt);
|
||||
}
|
||||
seq_printf(m, "\n");
|
||||
seq_puts(m, "\n");
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue