Skip to contentSkip to conversation

lib: Kconfig: fix spellos

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 24, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: Kconfig: fix spellos

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

Cc Andrew Morton <[email protected]>
Cc Marco Elver <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Cc Steven Rostedt <[email protected]>
---
 lib/Kconfig.debug |    2 +-
 lib/Kconfig.kcsan |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
lib/Kconfig.debug +1 -1
diff -- 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
 
lib/Kconfig.kcsan +1 -1
diff -- 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.
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 31 lines · Randy Dunlap

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

Cc Andrew Morton <[email protected]>
Cc Marco Elver <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Cc Steven Rostedt <[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

lib/Kconfig.debug +1 -1
@@ -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

lib/Kconfig.kcsan config KCSAN_WEAK_MEMORY · line 200

Quoted 8 lines
lib/Kconfig.kcsan +1 -1
@@ -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.

Thanks!