From: Markus Elfring Date: Thu, 11 Jan 2018 17:10:02 +0000 (+0100) Subject: powerpc/4xx: Use seq_putc() in ocm_debugfs_show() X-Git-Tag: v5.15~7340^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52930bc6e87191af3894bec302774f334e117f7b;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/platforms/4xx/ocm.c b/arch/powerpc/platforms/4xx/ocm.c index cf0043d..9bbcfc4 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;