stats: Replace seq_printf with seq_putc
PATCH 1/1 stats: Replace seq_printf with seq_putc
A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc()".
Signed-off-by Xu Wang <[email protected]>
--- kernel/sched/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/stats.c +1 -1
@@ -37,7 +37,7 @@ static int show_schedstat(struct seq_file *seq, void *v) rq->rq_cpu_time, rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); -seq_printf (seq,"\n" ); +seq_putc (seq,'\n' );#ifdef CONFIG_SMP /* domain-specific stats */
Signature · 1 line
2.17.1