linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] init: Remove leading spaces in Kconfig
@ 2021-05-17  9:58 Juerg Haefliger
  2021-05-24 19:15 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Juerg Haefliger @ 2021-05-17  9:58 UTC (permalink / raw)
  To: masahiroy, keescook, gregkh; +Cc: linux-kernel, juergh

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/'

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index 1ea12c64e4c9..9f1cde503739 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] init: Remove leading spaces in Kconfig
  2021-05-17  9:58 [PATCH] init: Remove leading spaces in Kconfig Juerg Haefliger
@ 2021-05-24 19:15 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2021-05-24 19:15 UTC (permalink / raw)
  To: Juerg Haefliger; +Cc: masahiroy, gregkh, linux-kernel, juergh

On Mon, May 17, 2021 at 11:58:48AM +0200, Juerg Haefliger wrote:
> 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/'
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>

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

Reviewed-by: Kees Cook <keescook@chromium.org>

-Kees

> ---
>  init/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/init/Kconfig b/init/Kconfig
> index 1ea12c64e4c9..9f1cde503739 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -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
> -- 
> 2.27.0
> 

-- 
Kees Cook

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-24 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17  9:58 [PATCH] init: Remove leading spaces in Kconfig Juerg Haefliger
2021-05-24 19:15 ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).