[PATCH] Fix Kconfig coding style from spaces to tab

Anand Moon linux.amoon at gmail.com
Sun Jun 23 19:40:21 CEST 2024


Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
	$ sed -e 's/^        /\t/' -i */Kconfig

Signed-off-by: Anand Moon <linux.amoon at gmail.com>
---
 boot/Kconfig |  8 ++++----
 cmd/Kconfig  | 20 ++++++++++----------
 disk/Kconfig |  2 +-
 lib/Kconfig  |  2 +-
 net/Kconfig  |  4 ++--
 5 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/boot/Kconfig b/boot/Kconfig
index 6f3096c15a..12148ac3f2 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -150,10 +150,10 @@ config FIT_IMAGE_POST_PROCESS
 	  processed before being added to the FIT image).
 
 config FIT_PRINT
-        bool "Support FIT printing"
-        default y
-        help
-          Support printing the content of the fitImage in a verbose manner.
+	bool "Support FIT printing"
+	default y
+	help
+	  Support printing the content of the fitImage in a verbose manner.
 
 config SPL_FIT
 	bool "Support Flattened Image Tree within SPL"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index b026439c77..011f4ad429 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -271,7 +271,7 @@ config CMD_BOOTM_PRE_LOAD
        depends on CMD_BOOTM
        depends on IMAGE_PRE_LOAD
        help
-         Enable support of stage pre-load for the bootm command.
+	 Enable support of stage pre-load for the bootm command.
 	 This stage allow to check or modify the image provided
 	 to the bootm command.
 
@@ -897,9 +897,9 @@ config CMD_MX_CYCLIC
 	bool "Enable cyclic md/mw commands"
 	depends on CMD_MEMORY
 	help
-          Add the "mdc" and "mwc" memory commands. These are cyclic
-          "md/mw" commands.
-          Examples:
+	  Add the "mdc" and "mwc" memory commands. These are cyclic
+	  "md/mw" commands.
+	  Examples:
 
 	  => mdc.b 10 4 500
 	  This command will print 4 bytes (10,11,12,13) each 500 ms.
@@ -2150,12 +2150,12 @@ config CMD_BLKMAP
 
 	  Example use-cases:
 	  - Treat a region of RAM as a block device, i.e. a RAM disk. This let's
-            you extract files from filesystem images stored in RAM (perhaps as a
-            result of a TFTP transfer).
+	    you extract files from filesystem images stored in RAM (perhaps as a
+	    result of a TFTP transfer).
 	  - Create a virtual partition on an existing device. This let's you
-            access filesystems that aren't stored at an exact partition
-            boundary. A common example is a filesystem image embedded in an FIT
-            image.
+	    access filesystems that aren't stored at an exact partition
+	    boundary. A common example is a filesystem image embedded in an FIT
+	    image.
 
 config CMD_BUTTON
 	bool "button"
@@ -2934,7 +2934,7 @@ config CMD_UBI_RENAME
        bool "Enable rename"
        depends on CMD_UBI
        help
-         Enable a "ubi" command to rename ubi volume:
+	 Enable a "ubi" command to rename ubi volume:
 	   ubi rename <oldname> <newname>
 
 config CMD_UBIFS
diff --git a/disk/Kconfig b/disk/Kconfig
index 8549695807..ffa835eb35 100644
--- a/disk/Kconfig
+++ b/disk/Kconfig
@@ -116,7 +116,7 @@ config EFI_PARTITION_ENTRIES_NUMBERS
 	  number.
 
 config EFI_PARTITION_ENTRIES_OFF
-        int "Offset (in bytes) of the EFI partition entries"
+	int "Offset (in bytes) of the EFI partition entries"
 	depends on EFI_PARTITION
 	default 0
 	help
diff --git a/lib/Kconfig b/lib/Kconfig
index 189e6eb31a..b8e4f516f9 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -1143,7 +1143,7 @@ config PHANDLE_CHECK_SEQ
 	bool "Enable phandle check while getting sequence number"
 	help
 	  When there are multiple device tree nodes with same name,
-          enable this config option to distinguish them using
+	  enable this config option to distinguish them using
 	  phandles in fdtdec_get_alias_seq() function.
 
 endmenu
diff --git a/net/Kconfig b/net/Kconfig
index 5dff633629..7cb80b880a 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -42,8 +42,8 @@ config BOOTP_SEND_HOSTNAME
 	  DNS server. To do this, they need the hostname of the DHCP
 	  requester.
 	  If CONFIG_BOOTP_SEND_HOSTNAME is defined, the content
-          of the "hostname" environment variable is passed as
-          option 12 to the DHCP server.
+	  of the "hostname" environment variable is passed as
+	  option 12 to the DHCP server.
 
 config NET_RANDOM_ETHADDR
 	bool "Random ethaddr if unset"
-- 
2.44.0



More information about the U-Boot mailing list