2023-01-24 18:17:11

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] lib: Kconfig: fix spellos

Fix spelling in lib/ Kconfig files.
(reported by codespell)

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: [email protected]
---
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.


2023-01-24 18:42:07

by Marco Elver

[permalink] [raw]
Subject: Re: [PATCH] lib: Kconfig: fix spellos

On Tue, 24 Jan 2023 at 19:17, Randy Dunlap <[email protected]> wrote:
>
> Fix spelling in lib/ Kconfig files.
> (reported by codespell)
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Marco Elver <[email protected]>
> Cc: Dmitry Vyukov <[email protected]>
> Cc: Steven Rostedt <[email protected]>
> Cc: [email protected]
> ---
> 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 <[email protected]>

Thanks!