Skip to content

Commit

Permalink
mm/vmalloc.c: replace seq_printf by seq_puts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and torvalds committed Jun 4, 2014
1 parent ada4ba5 commit f4527c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit f4527c9

Please sign in to comment.