Skip to contentSkip to conversation

init: Remove leading spaces in Kconfig

PATCH In review Juerg Haefliger 2 participants 2 messages May 17, 2021 – May 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 init: Remove leading spaces in Kconfig

Remove leading spaces before tabs in Kconfig file(s) by running the following command:

  $ find init -name 'Kconfig*' | xargs sed -r -i 's/^[ ]+\t/\t/'
---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
index 1ea12c64e4c9..9f1cde503739 100644
@@ -2149,7 +2149,7 @@ config MODULE_SRCVERSION_ALL
 	help
 	  Modules which contain a MODULE_VERSION get an extra "srcversion"
 	  field inserted into their modinfo section, which contains a
-    	  sum of the source files which made it.  This helps maintainers
+	  sum of the source files which made it.  This helps maintainers
 	  see exactly which source was used to build a module (since
 	  others sometimes change the module source without updating
 	  the version).  With this option, such a "srcversion" field
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Juerg Haefliger

Remove leading spaces before tabs in Kconfig file(s) by running the following command:

  $ find init -name 'Kconfig*' | xargs sed -r -i 's/^[ ]+\t/\t/'

I'm impressed this is the only one! :) (And it's been there a long time.)

-Kees

Quoted 20 lines
---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
index 1ea12c64e4c9..9f1cde503739 100644
@@ -2149,7 +2149,7 @@ config MODULE_SRCVERSION_ALL
 	help
 	  Modules which contain a MODULE_VERSION get an extra "srcversion"
 	  field inserted into their modinfo section, which contains a
-    	  sum of the source files which made it.  This helps maintainers
+	  sum of the source files which made it.  This helps maintainers
 	  see exactly which source was used to build a module (since
 	  others sometimes change the module source without updating
 	  the version).  With this option, such a "srcversion" field
Signature · 1 line
2.27.0
Signature · 1 line
Kees Cook