]> git.karo-electronics.de Git - linux-beck.git/commitdiff
m68k/atari: Use seq_puts() in atari_get_hardware_list()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 23 Oct 2016 21:00:22 +0000 (23:00 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 9 Dec 2016 07:52:29 +0000 (08:52 +0100)
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>
arch/m68k/atari/config.c

index 97a3c38cd1f550ccf459b9c32c243a752f0e6cc0..e328eaf816e372ff07f8e0d5dc214aaf9ee18f88 100644 (file)
@@ -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");