summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-01-11 18:10:02 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-21 11:32:49 +1100
commit52930bc6e87191af3894bec302774f334e117f7b (patch)
treeab657264ba4de206e046a85fbc85813b0d01b85a /arch/powerpc
parentb52106a040e6f86848b05be1b4317479836e94d4 (diff)
downloadlinux-52930bc6e87191af3894bec302774f334e117f7b.tar.gz
linux-52930bc6e87191af3894bec302774f334e117f7b.tar.bz2
linux-52930bc6e87191af3894bec302774f334e117f7b.zip
powerpc/4xx: Use seq_putc() in ocm_debugfs_show()
A single character (line break) 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')
-rw-r--r--arch/powerpc/platforms/4xx/ocm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/4xx/ocm.c b/arch/powerpc/platforms/4xx/ocm.c
index cf0043d9f536..9bbcfc468a11 100644
--- a/arch/powerpc/platforms/4xx/ocm.c
+++ b/arch/powerpc/platforms/4xx/ocm.c
@@ -264,7 +264,7 @@ static int ocm_debugfs_show(struct seq_file *m, void *v)
blk->size, blk->owner);
}
- seq_printf(m, "\n");
+ seq_putc(m, '\n');
}
return 0;