提交 d363a88b 编写于 作者: S SF Markus Elfring 提交者: Santosh Shilimkar

memory-EMIF: Use seq_putc() in emif_regdump_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: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@oracle.com>
上级 91ab883e
...@@ -127,7 +127,7 @@ static int emif_regdump_show(struct seq_file *s, void *unused) ...@@ -127,7 +127,7 @@ static int emif_regdump_show(struct seq_file *s, void *unused)
for (i = 0; i < EMIF_MAX_NUM_FREQUENCIES && regs_cache[i]; i++) { for (i = 0; i < EMIF_MAX_NUM_FREQUENCIES && regs_cache[i]; i++) {
do_emif_regdump_show(s, emif, regs_cache[i]); do_emif_regdump_show(s, emif, regs_cache[i]);
seq_printf(s, "\n"); seq_putc(s, '\n');
} }
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册