Commit eaa1809b900c460a020bff1f4030f4f6a237b2b2
Committed by
Linus Torvalds
1 parent
b9e5db6d2b
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff
kernel/latencytop.c
... | ... | @@ -88,7 +88,8 @@ |
88 | 88 | } |
89 | 89 | |
90 | 90 | static void __sched |
91 | -account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat) | |
91 | +account_global_scheduler_latency(struct task_struct *tsk, | |
92 | + struct latency_record *lat) | |
92 | 93 | { |
93 | 94 | int firstnonnull = MAXLR + 1; |
94 | 95 | int i; |
... | ... | @@ -255,7 +256,7 @@ |
255 | 256 | break; |
256 | 257 | seq_printf(m, " %ps", (void *)bt); |
257 | 258 | } |
258 | - seq_printf(m, "\n"); | |
259 | + seq_puts(m, "\n"); | |
259 | 260 | } |
260 | 261 | } |
261 | 262 | return 0; |