On 2014/5/6 1:46, Fabian Frederick wrote: > This patch also converts seq_printf to seq_puts > > Cc: Li Zefan <[email protected]> > Cc: Andrew Morton <[email protected]> > Signed-off-by: Fabian Frederick <[email protected]>
Acked-by: Li Zefan <[email protected]> > --- > kernel/cpuset.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) ... > void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) > { > - seq_printf(m, "Mems_allowed:\t"); > + seq_puts(m, "Mems_allowed:\t"); > seq_nodemask(m, &task->mems_allowed); > - seq_printf(m, "\n"); > - seq_printf(m, "Mems_allowed_list:\t"); > + seq_puts(m, "\n"); will seq_putc() produce slightly smaller code? > + seq_puts(m, "Mems_allowed_list:\t"); > seq_nodemask_list(m, &task->mems_allowed); > - seq_printf(m, "\n"); > + seq_puts(m, "\n"); > } > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

