m68k: Kconfig: Style cleanups
cover m68k: Kconfig: Style cleanups
The majority of the Kconfig files use a single tab for basic indentation and a single tab followed by two whitespaces for help text indentation. Fix the lines that don't follow this convention.
While at it, replace single quotes with double quotes, add missing endif comments and squeeze multiple empty lines.
Juerg Haefliger (3):
m68k: Kconfig.cpu: Fix indentation and add endif comments
m68k: Kconfig.debug: Replace single quotes
m68k: Kconfig.machine: Add endif comment
arch/m68k/Kconfig.cpu | 7 +++---- arch/m68k/Kconfig.debug | 6 +++--- arch/m68k/Kconfig.machine | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-)
Signature · 1 line
2.32.0
PATCH 1/3 m68k: Kconfig.cpu: Fix indentation and add endif comments
The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules.
While add it, add missing trailing endif comments and squeeze multiple empty lines.
--- arch/m68k/Kconfig.cpu | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
arch/m68k/Kconfig.cpu +3 -4
@@ -155,7 +155,7 @@ config M520x select COLDFIRE_PIT_TIMER select HAVE_CACHE_SPLIT help - Freescale Coldfire 5207/5208 processor support. + Freescale Coldfire 5207/5208 processor support. config M523x bool "MCF523x"
@@ -322,7 +322,6 @@ config COLDFIRE_SLTIMERS endif # COLDFIRE - comment "Processor Specific Options" config M68KFPU_EMU
@@ -522,7 +521,7 @@ config CACHE_BOTH Split the ColdFire CPU cache, and use half as an instruction cache and half as a data cache. endchoice -endif +endif # HAVE_CACHE_SPLIT if HAVE_CACHE_CB choice
@@ -539,4 +538,4 @@ config CACHE_COPYBACK help The ColdFire CPU cache is set into Copy-back mode. endchoice -endif +endif # HAVE_CACHE_CB
Signature · 1 line
2.32.0
Re: [PATCH 1/3] m68k: Kconfig.cpu: Fix indentation and add endif comments
Quoted 8 lines · Juerg Haefliger
The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules.
While add it, add missing trailing endif comments and squeeze multiple empty lines.
Signed-off-by Juerg Haefliger <[email protected]>
i.e. will queue in the m68k for-v5.20 branch.
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
PATCH 2/3 m68k: Kconfig.debug: Replace single quotes
In reply to Juerg HaefligerReplace single quotes in strings with double quotes to match the majority of the rest of the kernel's Kconfig files.
--- arch/m68k/Kconfig.debug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/m68k/Kconfig.debug +3 -3
@@ -1,11 +1,11 @@ # SPDX-License-Identifier: GPL-2.0 config BOOTPARAM - bool 'Compiled-in Kernel Boot Parameter' + bool "Compiled-in Kernel Boot Parameter" config BOOTPARAM_STRING - string 'Kernel Boot Parameter' - default 'console=ttyS0,19200' + string "Kernel Boot Parameter" + default "console=ttyS0,19200" depends on BOOTPARAM config EARLY_PRINTK
Signature · 1 line
2.32.0
Re: [PATCH 2/3] m68k: Kconfig.debug: Replace single quotes
Quoted 4 lines · Juerg Haefliger
Replace single quotes in strings with double quotes to match the majority of the rest of the kernel's
Kconfigfiles.Signed-off-by Juerg Haefliger <[email protected]>
i.e. will queue in the m68k for-v5.20 branch.
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
PATCH 3/3 m68k: Kconfig.machine: Add endif comment
In reply to Juerg HaefligerAdd missing trailing endif comment.
--- arch/m68k/Kconfig.machine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/Kconfig.machine +1 -1
@@ -474,4 +474,4 @@ config ROMKERNEL endchoice -endif +endif # !MMU || COLDFIRE
Signature · 1 line
2.32.0
Re: [PATCH 3/3] m68k: Kconfig.machine: Add endif comment
Quoted 3 lines · Juerg Haefliger
Add missing trailing endif comment.
Signed-off-by Juerg Haefliger <[email protected]>
i.e. will queue in the m68k for-v5.20 branch.
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