Skip to content

Commit ad595b7

Browse files
elfringgeertu
authored andcommitted
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 <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent f2a0c53 commit ad595b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/m68k/atari/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ static void atari_get_hardware_list(struct seq_file *m)
629629
if (ATARIHW_PRESENT(name)) \
630630
seq_printf(m, "\t%s\n", str)
631631

632-
seq_printf(m, "Detected hardware:\n");
632+
seq_puts(m, "Detected hardware:\n");
633633
ATARIHW_ANNOUNCE(STND_SHIFTER, "ST Shifter");
634634
ATARIHW_ANNOUNCE(EXTD_SHIFTER, "STe Shifter");
635635
ATARIHW_ANNOUNCE(TT_SHIFTER, "TT Shifter");

0 commit comments

Comments
 (0)