[PATCH] lib: Kconfig: fix spellos

0 views
Skip to first unread message

Randy Dunlap

unread,
Jan 24, 2023, 1:17:04 PM1/24/23
to linux-...@vger.kernel.org, Randy Dunlap, Andrew Morton, Marco Elver, Dmitry Vyukov, Steven Rostedt, kasa...@googlegroups.com
Fix spelling in lib/ Kconfig files.
(reported by codespell)

Signed-off-by: Randy Dunlap <rdu...@infradead.org>
Cc: Andrew Morton <ak...@linux-foundation.org>
Cc: Marco Elver <el...@google.com>
Cc: Dmitry Vyukov <dvy...@google.com>
Cc: Steven Rostedt <ros...@goodmis.org>
Cc: kasa...@googlegroups.com
---
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.

Marco Elver

unread,
Jan 24, 2023, 1:41:33 PM1/24/23
to Randy Dunlap, linux-...@vger.kernel.org, Andrew Morton, Dmitry Vyukov, Steven Rostedt, kasa...@googlegroups.com
Reviewed-by: Marco Elver <el...@google.com>

Thanks!

Steven Rostedt

unread,
Jan 25, 2023, 11:20:13 AM1/25/23
to linux-...@vger.kernel.org, Masami Hiramatsu, Andrew Morton, Marco Elver, Dmitry Vyukov, kasa...@googlegroups.com, Randy Dunlap
From: Randy Dunlap <rdu...@infradead.org>

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

Link: https://lkml.kernel.org/r/20230124181655....@infradead.org

Cc: Andrew Morton <ak...@linux-foundation.org>
Cc: Marco Elver <el...@google.com>
Cc: Dmitry Vyukov <dvy...@google.com>
Cc: kasa...@googlegroups.com
Reviewed-by: Marco Elver <el...@google.com>
Signed-off-by: Randy Dunlap <rdu...@infradead.org>
Signed-off-by: Steven Rostedt (Google) <ros...@goodmis.org>
---
lib/Kconfig.debug | 2 +-
lib/Kconfig.kcsan | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 881c3f84e88a..6426dbf99c12 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1917,7 +1917,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 --git a/lib/Kconfig.kcsan b/lib/Kconfig.kcsan
index 375575a5a0e3..4dedd61e5192 100644
--- 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.
--
2.39.0
Reply all
Reply to author
Forward
0 new messages