lib/Kconfig: remove 'default n' for tests
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Aug 2018 04:57:18 +0000 (21:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 22 Aug 2018 17:52:48 +0000 (10:52 -0700)
It seems contributors follow the style of Kconfig entries where explicit
'default n' is present.  The default 'default' is 'n' already, thus, drop
these lines from Kconfig to make it more clear.

Link: http://lkml.kernel.org/r/20180719085131.79541-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig
lib/Kconfig.debug

index 9c10b98..a3928d4 100644 (file)
@@ -231,7 +231,6 @@ config AUDIT_COMPAT_GENERIC
 
 config RANDOM32_SELFTEST
        bool "PRNG perform self test on init"
-       default n
        help
          This option enables the 32 bit PRNG library functions to perform a
          self test on initialization.
index ab1b599..3589765 100644 (file)
@@ -1220,7 +1220,6 @@ config LOCK_TORTURE_TEST
        tristate "torture tests for locking"
        depends on DEBUG_KERNEL
        select TORTURE_TEST
-       default n
        help
          This option provides a kernel module that runs torture tests
          on kernel locking primitives.  The kernel module may be built
@@ -1687,7 +1686,6 @@ config LKDTM
        tristate "Linux Kernel Dump Test Tool Module"
        depends on DEBUG_FS
        depends on BLOCK
-       default n
        help
        This module enables testing of the different dumping mechanisms by
        inducing system failures at predefined crash points.
@@ -1721,7 +1719,6 @@ config KPROBES_SANITY_TEST
        bool "Kprobes sanity tests"
        depends on DEBUG_KERNEL
        depends on KPROBES
-       default n
        help
          This option provides for testing basic kprobes functionality on
          boot. Samples of kprobe and kretprobe are inserted and
@@ -1732,7 +1729,6 @@ config KPROBES_SANITY_TEST
 config BACKTRACE_SELF_TEST
        tristate "Self test for the backtrace code"
        depends on DEBUG_KERNEL
-       default n
        help
          This option provides a kernel module that can be used to test
          the kernel stack backtrace code. This option is not useful
@@ -1802,7 +1798,6 @@ config TEST_PRINTF
 
 config TEST_BITMAP
        tristate "Test bitmap_*() family of functions at runtime"
-       default n
        help
          Enable this option to test the bitmap functions at boot.
 
@@ -1823,7 +1818,6 @@ config TEST_OVERFLOW
 
 config TEST_RHASHTABLE
        tristate "Perform selftest on resizable hash table"
-       default n
        help
          Enable this option to test the rhashtable functions at boot.
 
@@ -1831,7 +1825,6 @@ config TEST_RHASHTABLE
 
 config TEST_HASH
        tristate "Perform selftest on hash functions"
-       default n
        help
          Enable this option to test the kernel's integer (<linux/hash.h>),
          string (<linux/stringhash.h>), and siphash (<linux/siphash.h>)
@@ -1842,7 +1835,6 @@ config TEST_HASH
 
 config TEST_PARMAN
        tristate "Perform selftest on priority array manager"
-       default n
        depends on PARMAN
        help
          Enable this option to test priority array manager on boot
@@ -1852,7 +1844,6 @@ config TEST_PARMAN
 
 config TEST_LKM
        tristate "Test module loading with 'hello world' module"
-       default n
        depends on m
        help
          This builds the "test_module" module that emits "Hello, world"
@@ -1866,7 +1857,6 @@ config TEST_LKM
 
 config TEST_USER_COPY
        tristate "Test user/kernel boundary protections"
-       default n
        depends on m
        help
          This builds the "test_user_copy" module that runs sanity checks
@@ -1879,7 +1869,6 @@ config TEST_USER_COPY
 
 config TEST_BPF
        tristate "Test BPF filter functionality"
-       default n
        depends on m && NET
        help
          This builds the "test_bpf" module that runs various test vectors
@@ -1893,7 +1882,6 @@ config TEST_BPF
 
 config FIND_BIT_BENCHMARK
        tristate "Test find_bit functions"
-       default n
        help
          This builds the "test_find_bit" module that measure find_*_bit()
          functions performance.
@@ -1902,7 +1890,6 @@ config FIND_BIT_BENCHMARK
 
 config TEST_FIRMWARE
        tristate "Test firmware loading via userspace interface"
-       default n
        depends on FW_LOADER
        help
          This builds the "test_firmware" module that creates a userspace
@@ -1915,7 +1902,6 @@ config TEST_FIRMWARE
 
 config TEST_SYSCTL
        tristate "sysctl test driver"
-       default n
        depends on PROC_SYSCTL
        help
          This builds the "test_sysctl" module. This driver enables to test the
@@ -1926,7 +1912,6 @@ config TEST_SYSCTL
 
 config TEST_UDELAY
        tristate "udelay test driver"
-       default n
        help
          This builds the "udelay_test" module that helps to make sure
          that udelay() is working properly.
@@ -1935,7 +1920,6 @@ config TEST_UDELAY
 
 config TEST_STATIC_KEYS
        tristate "Test static keys"
-       default n
        depends on m
        help
          Test the static key interfaces.
@@ -1944,7 +1928,6 @@ config TEST_STATIC_KEYS
 
 config TEST_KMOD
        tristate "kmod stress tester"
-       default n
        depends on m
        depends on BLOCK && (64BIT || LBDAF)      # for XFS, BTRFS
        depends on NETDEVICES && NET_CORE && INET # for TUN