M68K: Fine-tuning for two function implementations
Subsystems (2)
cover M68K: Fine-tuning for two function implementations
From: Markus Elfring <[email protected]>
Date: Sun, 23 Oct 2016 23:05:23 +0200
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Use seq_puts() in amiga_get_hardware_list()
Use seq_puts() in atari_get_hardware_list()
arch/m68k/amiga/config.c | 3 +-- arch/m68k/atari/config.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.10.1
PATCH 1/2 M68K-Amiga: Use seq_puts() in amiga_get_hardware_list()
From: Markus Elfring <[email protected]>
Date: Sun, 23 Oct 2016 22:55:03 +0200
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.
--- arch/m68k/amiga/config.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/m68k/amiga/config.c +1 -2
@@ -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" );
Signature · 1 line
2.10.1
PATCH 2/2 M68K-Atari: Use seq_puts() in atari_get_hardware_list()
In reply to SF Markus ElfringFrom: Markus Elfring <[email protected]>
Date: Sun, 23 Oct 2016 23:00:22 +0200
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.
--- arch/m68k/atari/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/atari/config.c +1 -1
@@ -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" );
Signature · 1 line
2.10.1
Geert Uytterhoeven
maintainerQuoted 9 lines · SF Markus Elfring
From: Markus Elfring <[email protected]>
Date: Sun, 23 Oct 2016 23:05:23 +0200A few update suggestions were taken into account
from static source code analysis.Markus Elfring (2):
Useseq_puts()inamiga_get_hardware_list()
Useseq_puts()inatari_get_hardware_list()
Thanks, will apply and queue for v4.10, after changing the one line summary prefixes with prefixes matching the subsystem
(e.g. "s@M68K-Amiga@m68k/amiga@").
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Geert Uytterhoeven
maintainerQuoted 9 lines · SF Markus Elfring
From: Markus Elfring <[email protected]>
Date: Sun, 23 Oct 2016 23:05:23 +0200A few update suggestions were taken into account
from static source code analysis.Markus Elfring (2):
Useseq_puts()inamiga_get_hardware_list()
Useseq_puts()inatari_get_hardware_list()
Thanks, will apply and queue for v4.10, after changing the one line summary prefixes with prefixes matching the subsystem
(e.g. "s@M68K-Amiga@m68k/amiga@").
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds