projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b52106a
)
powerpc/4xx: Use seq_putc() in ocm_debugfs_show()
author
Markus Elfring
<elfring@users.sourceforge.net>
Thu, 11 Jan 2018 17:10:02 +0000
(18:10 +0100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 21 Dec 2018 00:32:49 +0000
(11:32 +1100)
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>
arch/powerpc/platforms/4xx/ocm.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/4xx/ocm.c
b/arch/powerpc/platforms/4xx/ocm.c
index cf0043d9f53631f4f7767d933555712dd3e542f9..9bbcfc468a11cf96dec123133a7370c42b0adc10 100644
(file)
--- 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_p
rintf(m, "\n"
);
+ seq_p
utc(m, '\n'
);
}
return 0;