mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
ada4ba5914
commit
f4527c9086
10
mm/vmalloc.c
10
mm/vmalloc.c
|
@ -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);
|
seq_printf(m, " phys=%llx", (unsigned long long)v->phys_addr);
|
||||||
|
|
||||||
if (v->flags & VM_IOREMAP)
|
if (v->flags & VM_IOREMAP)
|
||||||
seq_printf(m, " ioremap");
|
seq_puts(m, " ioremap");
|
||||||
|
|
||||||
if (v->flags & VM_ALLOC)
|
if (v->flags & VM_ALLOC)
|
||||||
seq_printf(m, " vmalloc");
|
seq_puts(m, " vmalloc");
|
||||||
|
|
||||||
if (v->flags & VM_MAP)
|
if (v->flags & VM_MAP)
|
||||||
seq_printf(m, " vmap");
|
seq_puts(m, " vmap");
|
||||||
|
|
||||||
if (v->flags & VM_USERMAP)
|
if (v->flags & VM_USERMAP)
|
||||||
seq_printf(m, " user");
|
seq_puts(m, " user");
|
||||||
|
|
||||||
if (v->flags & VM_VPAGES)
|
if (v->flags & VM_VPAGES)
|
||||||
seq_printf(m, " vpages");
|
seq_puts(m, " vpages");
|
||||||
|
|
||||||
show_numa_info(m, v);
|
show_numa_info(m, v);
|
||||||
seq_putc(m, '\n');
|
seq_putc(m, '\n');
|
||||||
|
|
Loading…
Reference in New Issue