]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rcutorture: Move RCU_TORTURE_TEST_{CHK_RDR_STATE,LOG_CPU} to bool
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 24 Dec 2024 17:48:06 +0000 (09:48 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Wed, 5 Feb 2025 15:14:40 +0000 (07:14 -0800)
The RCU_TORTURE_TEST_CHK_RDR_STATE and RCU_TORTURE_TEST_LOG_CPU Kconfig
options are pointlessly defined as tristate.  This commit therefore
converts them to bool.

Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202412241458.150d082b-lkp@intel.com
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
kernel/rcu/Kconfig.debug

index 25a9dc2be0dcdb2c0b1614b4061c1dc97edeb587..12e4c64ebae152992bfed6787c708a12d03788fc 100644 (file)
@@ -54,7 +54,7 @@ config RCU_TORTURE_TEST
          Say N if you are unsure.
 
 config RCU_TORTURE_TEST_CHK_RDR_STATE
-       tristate "Check rcutorture reader state"
+       bool "Check rcutorture reader state"
        depends on RCU_TORTURE_TEST
        default n
        help
@@ -70,7 +70,7 @@ config RCU_TORTURE_TEST_CHK_RDR_STATE
          Say N if you are unsure.
 
 config RCU_TORTURE_TEST_LOG_CPU
-       tristate "Log CPU for rcutorture failures"
+       bool "Log CPU for rcutorture failures"
        depends on RCU_TORTURE_TEST
        default n
        help