All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sparc: Kconfig: Fix indentation and add comments
@ 2022-05-20 12:11 Juerg Haefliger
  0 siblings, 0 replies; only message in thread
From: Juerg Haefliger @ 2022-05-20 12:11 UTC (permalink / raw)
  To: davem, sparclinux; +Cc: linux-kernel, 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 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-20 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 12:11 [PATCH] sparc: Kconfig: Fix indentation and add comments Juerg Haefliger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.