From: Markus Elfring Date: Sun, 23 Oct 2016 20:55:03 +0000 (+0200) Subject: m68k/amiga: Use seq_puts() in amiga_get_hardware_list() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2a0c53402990ee106a8ec329b00fc527d6e0773;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git m68k/amiga: Use seq_puts() in amiga_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/amiga/config.c b/arch/m68k/amiga/config.c index ddb8192a3661..65f63a457130 100644 --- a/arch/m68k/amiga/config.c +++ b/arch/m68k/amiga/config.c @@ -786,8 +786,7 @@ static void amiga_get_hardware_list(struct seq_file *m) if (AMIGAHW_PRESENT(name)) \ seq_printf (m, "\t%s\n", str) - seq_printf (m, "Detected hardware:\n"); - + seq_puts(m, "Detected hardware:\n"); AMIGAHW_ANNOUNCE(AMI_VIDEO, "Amiga Video"); AMIGAHW_ANNOUNCE(AMI_BLITTER, "Blitter"); AMIGAHW_ANNOUNCE(AMBER_FF, "Amber Flicker Fixer");