Commit fd7338ef authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Torvalds
Browse files

lib/Kconfig: remove 'default n' for tests

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d2359963
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -231,7 +231,6 @@ config AUDIT_COMPAT_GENERIC


config RANDOM32_SELFTEST
config RANDOM32_SELFTEST
	bool "PRNG perform self test on init"
	bool "PRNG perform self test on init"
	default n
	help
	help
	  This option enables the 32 bit PRNG library functions to perform a
	  This option enables the 32 bit PRNG library functions to perform a
	  self test on initialization.
	  self test on initialization.
+0 −17
Original line number Original line Diff line number Diff line
@@ -1220,7 +1220,6 @@ config LOCK_TORTURE_TEST
	tristate "torture tests for locking"
	tristate "torture tests for locking"
	depends on DEBUG_KERNEL
	depends on DEBUG_KERNEL
	select TORTURE_TEST
	select TORTURE_TEST
	default n
	help
	help
	  This option provides a kernel module that runs torture tests
	  This option provides a kernel module that runs torture tests
	  on kernel locking primitives.  The kernel module may be built
	  on kernel locking primitives.  The kernel module may be built
@@ -1687,7 +1686,6 @@ config LKDTM
	tristate "Linux Kernel Dump Test Tool Module"
	tristate "Linux Kernel Dump Test Tool Module"
	depends on DEBUG_FS
	depends on DEBUG_FS
	depends on BLOCK
	depends on BLOCK
	default n
	help
	help
	This module enables testing of the different dumping mechanisms by
	This module enables testing of the different dumping mechanisms by
	inducing system failures at predefined crash points.
	inducing system failures at predefined crash points.
@@ -1721,7 +1719,6 @@ config KPROBES_SANITY_TEST
	bool "Kprobes sanity tests"
	bool "Kprobes sanity tests"
	depends on DEBUG_KERNEL
	depends on DEBUG_KERNEL
	depends on KPROBES
	depends on KPROBES
	default n
	help
	help
	  This option provides for testing basic kprobes functionality on
	  This option provides for testing basic kprobes functionality on
	  boot. Samples of kprobe and kretprobe are inserted and
	  boot. Samples of kprobe and kretprobe are inserted and
@@ -1732,7 +1729,6 @@ config KPROBES_SANITY_TEST
config BACKTRACE_SELF_TEST
config BACKTRACE_SELF_TEST
	tristate "Self test for the backtrace code"
	tristate "Self test for the backtrace code"
	depends on DEBUG_KERNEL
	depends on DEBUG_KERNEL
	default n
	help
	help
	  This option provides a kernel module that can be used to test
	  This option provides a kernel module that can be used to test
	  the kernel stack backtrace code. This option is not useful
	  the kernel stack backtrace code. This option is not useful
@@ -1802,7 +1798,6 @@ config TEST_PRINTF


config TEST_BITMAP
config TEST_BITMAP
	tristate "Test bitmap_*() family of functions at runtime"
	tristate "Test bitmap_*() family of functions at runtime"
	default n
	help
	help
	  Enable this option to test the bitmap functions at boot.
	  Enable this option to test the bitmap functions at boot.


@@ -1823,7 +1818,6 @@ config TEST_OVERFLOW


config TEST_RHASHTABLE
config TEST_RHASHTABLE
	tristate "Perform selftest on resizable hash table"
	tristate "Perform selftest on resizable hash table"
	default n
	help
	help
	  Enable this option to test the rhashtable functions at boot.
	  Enable this option to test the rhashtable functions at boot.


@@ -1831,7 +1825,6 @@ config TEST_RHASHTABLE


config TEST_HASH
config TEST_HASH
	tristate "Perform selftest on hash functions"
	tristate "Perform selftest on hash functions"
	default n
	help
	help
	  Enable this option to test the kernel's integer (<linux/hash.h>),
	  Enable this option to test the kernel's integer (<linux/hash.h>),
	  string (<linux/stringhash.h>), and siphash (<linux/siphash.h>)
	  string (<linux/stringhash.h>), and siphash (<linux/siphash.h>)
@@ -1842,7 +1835,6 @@ config TEST_HASH


config TEST_PARMAN
config TEST_PARMAN
	tristate "Perform selftest on priority array manager"
	tristate "Perform selftest on priority array manager"
	default n
	depends on PARMAN
	depends on PARMAN
	help
	help
	  Enable this option to test priority array manager on boot
	  Enable this option to test priority array manager on boot
@@ -1852,7 +1844,6 @@ config TEST_PARMAN


config TEST_LKM
config TEST_LKM
	tristate "Test module loading with 'hello world' module"
	tristate "Test module loading with 'hello world' module"
	default n
	depends on m
	depends on m
	help
	help
	  This builds the "test_module" module that emits "Hello, world"
	  This builds the "test_module" module that emits "Hello, world"
@@ -1866,7 +1857,6 @@ config TEST_LKM


config TEST_USER_COPY
config TEST_USER_COPY
	tristate "Test user/kernel boundary protections"
	tristate "Test user/kernel boundary protections"
	default n
	depends on m
	depends on m
	help
	help
	  This builds the "test_user_copy" module that runs sanity checks
	  This builds the "test_user_copy" module that runs sanity checks
@@ -1879,7 +1869,6 @@ config TEST_USER_COPY


config TEST_BPF
config TEST_BPF
	tristate "Test BPF filter functionality"
	tristate "Test BPF filter functionality"
	default n
	depends on m && NET
	depends on m && NET
	help
	help
	  This builds the "test_bpf" module that runs various test vectors
	  This builds the "test_bpf" module that runs various test vectors
@@ -1893,7 +1882,6 @@ config TEST_BPF


config FIND_BIT_BENCHMARK
config FIND_BIT_BENCHMARK
	tristate "Test find_bit functions"
	tristate "Test find_bit functions"
	default n
	help
	help
	  This builds the "test_find_bit" module that measure find_*_bit()
	  This builds the "test_find_bit" module that measure find_*_bit()
	  functions performance.
	  functions performance.
@@ -1902,7 +1890,6 @@ config FIND_BIT_BENCHMARK


config TEST_FIRMWARE
config TEST_FIRMWARE
	tristate "Test firmware loading via userspace interface"
	tristate "Test firmware loading via userspace interface"
	default n
	depends on FW_LOADER
	depends on FW_LOADER
	help
	help
	  This builds the "test_firmware" module that creates a userspace
	  This builds the "test_firmware" module that creates a userspace
@@ -1915,7 +1902,6 @@ config TEST_FIRMWARE


config TEST_SYSCTL
config TEST_SYSCTL
	tristate "sysctl test driver"
	tristate "sysctl test driver"
	default n
	depends on PROC_SYSCTL
	depends on PROC_SYSCTL
	help
	help
	  This builds the "test_sysctl" module. This driver enables to test the
	  This builds the "test_sysctl" module. This driver enables to test the
@@ -1926,7 +1912,6 @@ config TEST_SYSCTL


config TEST_UDELAY
config TEST_UDELAY
	tristate "udelay test driver"
	tristate "udelay test driver"
	default n
	help
	help
	  This builds the "udelay_test" module that helps to make sure
	  This builds the "udelay_test" module that helps to make sure
	  that udelay() is working properly.
	  that udelay() is working properly.
@@ -1935,7 +1920,6 @@ config TEST_UDELAY


config TEST_STATIC_KEYS
config TEST_STATIC_KEYS
	tristate "Test static keys"
	tristate "Test static keys"
	default n
	depends on m
	depends on m
	help
	help
	  Test the static key interfaces.
	  Test the static key interfaces.
@@ -1944,7 +1928,6 @@ config TEST_STATIC_KEYS


config TEST_KMOD
config TEST_KMOD
	tristate "kmod stress tester"
	tristate "kmod stress tester"
	default n
	depends on m
	depends on m
	depends on BLOCK && (64BIT || LBDAF)	  # for XFS, BTRFS
	depends on BLOCK && (64BIT || LBDAF)	  # for XFS, BTRFS
	depends on NETDEVICES && NET_CORE && INET # for TUN
	depends on NETDEVICES && NET_CORE && INET # for TUN