Re: [PATCH] lib: Kconfig: fix spellos

From: Marco Elver
Date: Tue Jan 24 2023 - 13:42:07 EST


On Tue, 24 Jan 2023 at 19:17, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Fix spelling in lib/ Kconfig files.
> (reported by codespell)
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Marco Elver <elver@xxxxxxxxxx>
> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: kasan-dev@xxxxxxxxxxxxxxxx
> ---
> lib/Kconfig.debug | 2 +-
> lib/Kconfig.kcsan | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff -- a/lib/Kconfig.debug b/lib/Kconfig.debug
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -1876,7 +1876,7 @@ config FUNCTION_ERROR_INJECTION
> help
> Add fault injections into various functions that are annotated with
> ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return
> - value of theses functions. This is useful to test error paths of code.
> + value of these functions. This is useful to test error paths of code.
>
> If unsure, say N
>
> diff -- a/lib/Kconfig.kcsan b/lib/Kconfig.kcsan
> --- a/lib/Kconfig.kcsan
> +++ b/lib/Kconfig.kcsan
> @@ -194,7 +194,7 @@ config KCSAN_WEAK_MEMORY
> Enable support for modeling a subset of weak memory, which allows
> detecting a subset of data races due to missing memory barriers.
>
> - Depends on KCSAN_STRICT, because the options strenghtening certain
> + Depends on KCSAN_STRICT, because the options strengthening certain
> plain accesses by default (depending on !KCSAN_STRICT) reduce the
> ability to detect any data races invoving reordered accesses, in
> particular reordered writes.

Reviewed-by: Marco Elver <elver@xxxxxxxxxx>

Thanks!