]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
lib/Kconfig.debug: move int_pow test option to runtime testing section
authorKuan-Wei Chiu <visitorckw@gmail.com>
Sat, 5 Oct 2024 22:22:21 +0000 (06:22 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:30 +0000 (17:12 -0800)
When executing 'make menuconfig' with KUNIT enabled, the int_pow test
option appears on the first page of the main menu instead of under the
runtime testing section.  Relocate the int_pow test configuration to the
appropriate runtime testing submenu, ensuring a more organized and logical
structure in the menu configuration.

Link: https://lkml.kernel.org/r/20241005222221.2154393-1-visitorckw@gmail.com
Fixes: 7fcc9b53216c ("lib/math: Add int_pow test suite")
Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: Ching-Chun (Jim) Huang <jserv@ccns.ncku.edu.tw>
Cc: David Gow <davidgow@google.com>
Cc: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/Kconfig.debug

index 7312ae7c3cc57b9d7e12286b4218206811d9705b..409dd193c09b4ddcdb84b1c16beb22daa7e25d55 100644 (file)
@@ -2993,6 +2993,22 @@ config TEST_OBJPOOL
 
          If unsure, say N.
 
+config INT_POW_TEST
+       tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
+       help
+         This option enables the KUnit test suite for the int_pow function,
+         which performs integer exponentiation. The test suite is designed to
+         verify that the implementation of int_pow correctly computes the power
+         of a given base raised to a given exponent.
+
+         Enabling this option will include tests that check various scenarios
+         and edge cases to ensure the accuracy and reliability of the exponentiation
+         function.
+
+         If unsure, say N
+
 endif # RUNTIME_TESTING_MENU
 
 config ARCH_USE_MEMTEST
@@ -3088,19 +3104,3 @@ config RUST_KERNEL_DOCTESTS
 endmenu # "Rust"
 
 endmenu # Kernel hacking
-
-config INT_POW_TEST
-       tristate "Integer exponentiation (int_pow) test" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       default KUNIT_ALL_TESTS
-       help
-         This option enables the KUnit test suite for the int_pow function,
-         which performs integer exponentiation. The test suite is designed to
-         verify that the implementation of int_pow correctly computes the power
-         of a given base raised to a given exponent.
-
-         Enabling this option will include tests that check various scenarios
-         and edge cases to ensure the accuracy and reliability of the exponentiation
-         function.
-
-         If unsure, say N