diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-10-23 23:00:22 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-12-09 08:52:29 +0100 |
commit | ad595b77c4a8553516a5d76c9ecf68a0ff13960e (patch) | |
tree | 0e81258890332583cc79d71c96ec05379244aca7 /arch/m68k | |
parent | f2a0c53402990ee106a8ec329b00fc527d6e0773 (diff) | |
download | op-kernel-dev-ad595b77c4a8553516a5d76c9ecf68a0ff13960e.zip op-kernel-dev-ad595b77c4a8553516a5d76c9ecf68a0ff13960e.tar.gz |
m68k/atari: Use seq_puts() in atari_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/m68k')
-rw-r--r-- | arch/m68k/atari/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index 97a3c38..e328eaf 100644 --- a/arch/m68k/atari/config.c +++ b/arch/m68k/atari/config.c @@ -629,7 +629,7 @@ static void atari_get_hardware_list(struct seq_file *m) if (ATARIHW_PRESENT(name)) \ seq_printf(m, "\t%s\n", str) - seq_printf(m, "Detected hardware:\n"); + seq_puts(m, "Detected hardware:\n"); ATARIHW_ANNOUNCE(STND_SHIFTER, "ST Shifter"); ATARIHW_ANNOUNCE(EXTD_SHIFTER, "STe Shifter"); ATARIHW_ANNOUNCE(TT_SHIFTER, "TT Shifter"); |