lkml.org 
[lkml]   [2022]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] sparc: Kconfig: Fix indentation and add comments
Date
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 trailing comments to endif and endmenu statements for
better readability.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
arch/sparc/Kconfig | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 9200bc04701c..3c97725fe75c 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -227,7 +227,7 @@ config HOTPLUG_CPU

if SPARC64
source "drivers/cpufreq/Kconfig"
-endif
+endif # SPARC64

config US3_MC
tristate "UltraSPARC-III Memory Controller driver"
@@ -283,7 +283,7 @@ config FORCE_MAX_ZONEORDER

if SPARC64
source "kernel/power/Kconfig"
-endif
+endif # SPARC64

config SCHED_SMT
bool "SMT (Hyperthreading) scheduler support"
@@ -382,33 +382,33 @@ config UBOOT_LOAD_ADDR
hex "uImage Load Address"
default 0x40004000
help
- U-Boot kernel load address, the address in physical address space
- where u-boot will place the Linux kernel before booting it.
- This address is normally the base address of main memory + 0x4000.
+ U-Boot kernel load address, the address in physical address space
+ where u-boot will place the Linux kernel before booting it.
+ This address is normally the base address of main memory + 0x4000.

config UBOOT_FLASH_ADDR
hex "uImage.o Load Address"
default 0x00080000
help
- Optional setting only affecting the uImage.o ELF-image used to
- download the uImage file to the target using a ELF-loader other than
- U-Boot. It may for example be used to download an uImage to FLASH with
- the GRMON utility before even starting u-boot.
+ Optional setting only affecting the uImage.o ELF-image used to
+ download the uImage file to the target using a ELF-loader other than
+ U-Boot. It may for example be used to download an uImage to FLASH with
+ the GRMON utility before even starting u-boot.

config UBOOT_ENTRY_ADDR
hex "uImage Entry Address"
default 0xf0004000
help
- Do not change this unless you know what you're doing. This is
- hardcoded by the SPARC32 and LEON port.
+ Do not change this unless you know what you're doing. This is
+ hardcoded by the SPARC32 and LEON port.

- This is the virtual address u-boot jumps to when booting the Linux
- Kernel.
+ This is the virtual address u-boot jumps to when booting the Linux
+ Kernel.

-endmenu
-endif
+endmenu # "U-Boot options"
+endif # SPARC_LEON

-endmenu
+endmenu # "Processor type and features"

menu "Bus options (PCI etc.)"
config SBUS
@@ -478,7 +478,7 @@ config SPARC64_PCI_MSI
default y
depends on SPARC64_PCI && PCI_MSI

-endmenu
+endmenu # "Bus options (PCI etc.)"

config COMPAT
bool
--
2.32.0
\
 
 \ /
  Last update: 2022-05-20 14:12    [W:0.031 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site