summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/dump_linuxpagetables.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-05-07 16:32:04 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-09-01 16:42:52 +1000
commitaae85e3c20ec3baa90aa901a517c8f4cc684b278 (patch)
treee740cc22363b8c979fbe336bd6739f00d3cc41cc /arch/powerpc/mm/dump_linuxpagetables.c
parentb6a945ae03fd3962b51b27ecedf4f1dd7e034229 (diff)
downloadlinux-aae85e3c20ec3baa90aa901a517c8f4cc684b278.tar.bz2
powerpc/mm: Use seq_putc() in two functions
Two single characters (line breaks) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/dump_linuxpagetables.c')
-rw-r--r--arch/powerpc/mm/dump_linuxpagetables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/dump_linuxpagetables.c b/arch/powerpc/mm/dump_linuxpagetables.c
index 44fe4833910f..c9282d27b203 100644
--- a/arch/powerpc/mm/dump_linuxpagetables.c
+++ b/arch/powerpc/mm/dump_linuxpagetables.c
@@ -350,7 +350,7 @@ static void note_page(struct pg_state *st, unsigned long addr,
st->current_flags,
pg_level[st->level].num);
- seq_puts(st->seq, "\n");
+ seq_putc(st->seq, '\n');
}
/*