summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-10-23 22:55:03 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2016-12-09 08:52:29 +0100
commitf2a0c53402990ee106a8ec329b00fc527d6e0773 (patch)
tree869927b78cc3b1c281ffca2c29e5b31c7c639212 /arch
parent7e251bb21ae08ca2e4fb28cc0981fac2685a8efa (diff)
downloadop-kernel-dev-f2a0c53402990ee106a8ec329b00fc527d6e0773.zip
op-kernel-dev-f2a0c53402990ee106a8ec329b00fc527d6e0773.tar.gz
m68k/amiga: Use seq_puts() in amiga_get_hardware_list()
A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/amiga/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c
index ddb8192..65f63a4 100644
--- a/arch/m68k/amiga/config.c
+++ b/arch/m68k/amiga/config.c
@@ -786,8 +786,7 @@ static void amiga_get_hardware_list(struct seq_file *m)
if (AMIGAHW_PRESENT(name)) \
seq_printf (m, "\t%s\n", str)
- seq_printf (m, "Detected hardware:\n");
-
+ seq_puts(m, "Detected hardware:\n");
AMIGAHW_ANNOUNCE(AMI_VIDEO, "Amiga Video");
AMIGAHW_ANNOUNCE(AMI_BLITTER, "Blitter");
AMIGAHW_ANNOUNCE(AMBER_FF, "Amber Flicker Fixer");
OpenPOWER on IntegriCloud