1
0
Fork 0

mm/vmalloc.c: replace seq_printf by seq_puts

Replace seq_printf where possible

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>
hifive-unleashed-5.1
Fabian Frederick 2014-06-04 16:08:09 -07:00 committed by Linus Torvalds
parent ada4ba5914
commit f4527c9086
1 changed files with 5 additions and 5 deletions

View File

@ -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');