kernel/latencytop.c: convert seq_printf to seq_puts
authorFabian Frederick <fabf@skynet.be>
Wed, 4 Jun 2014 23:11:21 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:15 +0000 (16:54 -0700)
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>
kernel/latencytop.c

index a462b317f9a0002bb5d35de480f97c8a70b43c3f..a02812743a7e63378a79cc768255f807a7fd469b 100644 (file)
@@ -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;