Skip to content

Commit

Permalink
m68k/atari: Use seq_puts() in atari_get_hardware_list()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
elfring authored and geertu committed Dec 9, 2016
1 parent f2a0c53 commit ad595b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/atari/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit ad595b7

Please sign in to comment.