From: Markus Elfring Date: Sun, 23 Oct 2016 21:00:22 +0000 (+0200) Subject: m68k/atari: Use seq_puts() in atari_get_hardware_list() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad595b77c4a8553516a5d76c9ecf68a0ff13960e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index 97a3c38cd1f5..e328eaf816e3 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");