Skip to content

Commit

Permalink
powerpc/4xx: Use seq_putc() in ocm_debugfs_show()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Elfring authored and Michael Ellerman committed Dec 21, 2018
1 parent b52106a commit 52930bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/4xx/ocm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52930bc

Please sign in to comment.