提交 f4527c90 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

mm/vmalloc.c: replace seq_printf by seq_puts

Replace seq_printf where possible
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ada4ba59
......@@ -2619,19 +2619,19 @@ static int s_show(struct seq_file *m, void *p)
seq_printf(m, " phys=%llx", (unsigned long long)v->phys_addr);
if (v->flags & VM_IOREMAP)
seq_printf(m, " ioremap");
seq_puts(m, " ioremap");
if (v->flags & VM_ALLOC)
seq_printf(m, " vmalloc");
seq_puts(m, " vmalloc");
if (v->flags & VM_MAP)
seq_printf(m, " vmap");
seq_puts(m, " vmap");
if (v->flags & VM_USERMAP)
seq_printf(m, " user");
seq_puts(m, " user");
if (v->flags & VM_VPAGES)
seq_printf(m, " vpages");
seq_puts(m, " vpages");
show_numa_info(m, v);
seq_putc(m, '\n');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册