[PATCH] kconfig: fix typo (usafe -> unsafe)

Lizzy Fleckenstein posted 1 patch 2 years, 8 months ago
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] kconfig: fix typo (usafe -> unsafe)
Posted by Lizzy Fleckenstein 2 years, 8 months ago
Fix the help text for the PRINTK_SAFE_LOG_BUF_SHIFT setting.

Signed-off-by: Lizzy Fleckenstein <eliasfleckenstein@web.de>
---
 init/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/Kconfig b/init/Kconfig
index 7e5c3ddc341d..57c8d224ea4c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -776,7 +776,7 @@ config PRINTK_SAFE_LOG_BUF_SHIFT
 	depends on PRINTK
 	help
 	  Select the size of an alternate printk per-CPU buffer where messages
-	  printed from usafe contexts are temporary stored. One example would
+	  printed from unsafe contexts are temporary stored. One example would
 	  be NMI messages, another one - printk recursion. The messages are
 	  copied to the main log buffer in a safe context to avoid a deadlock.
 	  The value defines the size as a power of 2.
--
2.39.0
Re: [PATCH] kconfig: fix typo (usafe -> unsafe)
Posted by Masahiro Yamada 2 years, 8 months ago
Andrew,


Please revise the patch subject to init/Kconfig:

I want to see "kconfig:" only for changes in scripts/kconfig/.


See this:
https://lore.kernel.org/all/CAK7LNARmyKYC4e3fOyACPVJJ03gTh4TwNqXAx_SLP_Zkei0XXA@mail.gmail.com/T/#t

This is a good choice for the subject.









On Tue, Jan 10, 2023 at 5:19 AM Lizzy Fleckenstein
<eliasfleckenstein@web.de> wrote:
>
> Fix the help text for the PRINTK_SAFE_LOG_BUF_SHIFT setting.
>
> Signed-off-by: Lizzy Fleckenstein <eliasfleckenstein@web.de>
> ---
>  init/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index 7e5c3ddc341d..57c8d224ea4c 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -776,7 +776,7 @@ config PRINTK_SAFE_LOG_BUF_SHIFT
>         depends on PRINTK
>         help
>           Select the size of an alternate printk per-CPU buffer where messages
> -         printed from usafe contexts are temporary stored. One example would
> +         printed from unsafe contexts are temporary stored. One example would
>           be NMI messages, another one - printk recursion. The messages are
>           copied to the main log buffer in a safe context to avoid a deadlock.
>           The value defines the size as a power of 2.
> --
> 2.39.0
>


-- 
Best Regards
Masahiro Yamada
Re: [PATCH] kconfig: fix typo (usafe -> unsafe)
Posted by Nick Desaulniers 2 years, 8 months ago
On Mon, Jan 9, 2023 at 12:19 PM Lizzy Fleckenstein
<eliasfleckenstein@web.de> wrote:
>
> Fix the help text for the PRINTK_SAFE_LOG_BUF_SHIFT setting.
>
> Signed-off-by: Lizzy Fleckenstein <eliasfleckenstein@web.de>

Thanks for the patch!
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>

> ---
>  init/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index 7e5c3ddc341d..57c8d224ea4c 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -776,7 +776,7 @@ config PRINTK_SAFE_LOG_BUF_SHIFT
>         depends on PRINTK
>         help
>           Select the size of an alternate printk per-CPU buffer where messages
> -         printed from usafe contexts are temporary stored. One example would
> +         printed from unsafe contexts are temporary stored. One example would
>           be NMI messages, another one - printk recursion. The messages are
>           copied to the main log buffer in a safe context to avoid a deadlock.
>           The value defines the size as a power of 2.
> --
> 2.39.0
>


-- 
Thanks,
~Nick Desaulniers