Skip to contentSkip to conversation

kcsan: Fix trivial typo in Kconfig help comments

PATCH Applied Ryosuke Yasuoka 3 participants 3 messages Oct 18, 2022

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

PATCH 1/1 kcsan: Fix trivial typo in Kconfig help comments

Fix trivial typo in Kconfig help comments in KCSAN_SKIP_WATCH and KCSAN_SKIP_WATCH_RANDOMIZE

---
 lib/Kconfig.kcsan | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/Kconfig.kcsan +3 -3
index 47a693c45864..375575a5a0e3 100644
@@ -125,7 +125,7 @@ config KCSAN_SKIP_WATCH
 	default 4000
 	help
 	  The number of per-CPU memory operations to skip, before another
-	  watchpoint is set up, i.e. one in KCSAN_WATCH_SKIP per-CPU
+	  watchpoint is set up, i.e. one in KCSAN_SKIP_WATCH per-CPU
 	  memory operations are used to set up a watchpoint. A smaller value
 	  results in more aggressive race detection, whereas a larger value
 	  improves system performance at the cost of missing some races.
@@ -135,8 +135,8 @@ config KCSAN_SKIP_WATCH_RANDOMIZE
 	default y
 	help
 	  If instruction skip count should be randomized, where the maximum is
-	  KCSAN_WATCH_SKIP. If false, the chosen value is always
-	  KCSAN_WATCH_SKIP.
+	  KCSAN_SKIP_WATCH. If false, the chosen value is always
+	  KCSAN_SKIP_WATCH.
 
 config KCSAN_INTERRUPT_WATCHER
 	bool "Interruptible watchers" if !KCSAN_STRICT
Signature · 1 line
2.37.3
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Ryosuke Yasuoka

Fix trivial typo in Kconfig help comments in KCSAN_SKIP_WATCH and KCSAN_SKIP_WATCH_RANDOMIZE

Thanks.

Quoted 31 lines
---
 lib/Kconfig.kcsan | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/Kconfig.kcsan +3 -4
index 47a693c45864..375575a5a0e3 100644
@@ -125,7 +125,7 @@ config KCSAN_SKIP_WATCH
        default 4000
        help
          The number of per-CPU memory operations to skip, before another
-         watchpoint is set up, i.e. one in KCSAN_WATCH_SKIP per-CPU
+         watchpoint is set up, i.e. one in KCSAN_SKIP_WATCH per-CPU
          memory operations are used to set up a watchpoint. A smaller value
          results in more aggressive race detection, whereas a larger value
          improves system performance at the cost of missing some races.
@@ -135,8 +135,8 @@ config KCSAN_SKIP_WATCH_RANDOMIZE
        default y
        help
          If instruction skip count should be randomized, where the maximum is
-         KCSAN_WATCH_SKIP. If false, the chosen value is always
-         KCSAN_WATCH_SKIP.
+         KCSAN_SKIP_WATCH. If false, the chosen value is always
+         KCSAN_SKIP_WATCH.
 
 config KCSAN_INTERRUPT_WATCHER
        bool "Interruptible watchers" if !KCSAN_STRICT
--

2.37.3

#2 lore raw
Quoted 8 lines · Marco Elver
Quoted 5 lines · Ryosuke Yasuoka

Fix trivial typo in Kconfig help comments in KCSAN_SKIP_WATCH and KCSAN_SKIP_WATCH_RANDOMIZE

Applied, thank you both!

Thanx, Paul

Quoted 33 lines

Thanks.

Quoted 31 lines
---
 lib/Kconfig.kcsan | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/Kconfig.kcsan +3 -4
index 47a693c45864..375575a5a0e3 100644
@@ -125,7 +125,7 @@ config KCSAN_SKIP_WATCH
        default 4000
        help
          The number of per-CPU memory operations to skip, before another
-         watchpoint is set up, i.e. one in KCSAN_WATCH_SKIP per-CPU
+         watchpoint is set up, i.e. one in KCSAN_SKIP_WATCH per-CPU
          memory operations are used to set up a watchpoint. A smaller value
          results in more aggressive race detection, whereas a larger value
          improves system performance at the cost of missing some races.
@@ -135,8 +135,8 @@ config KCSAN_SKIP_WATCH_RANDOMIZE
        default y
        help
          If instruction skip count should be randomized, where the maximum is
-         KCSAN_WATCH_SKIP. If false, the chosen value is always
-         KCSAN_WATCH_SKIP.
+         KCSAN_SKIP_WATCH. If false, the chosen value is always
+         KCSAN_SKIP_WATCH.
 
 config KCSAN_INTERRUPT_WATCHER
        bool "Interruptible watchers" if !KCSAN_STRICT
--

2.37.3