summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-08-22 00:57:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 13:52:48 -0400
commitfd7338ef624fab2efbeb011c3e790693b4199c8e (patch)
treee62a212e3e1632e8f3c3738d0a0a41bcc2776f29 /lib
parentd23599630b0fdecf3b676140a97619def16f2060 (diff)
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: 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>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig1
-rw-r--r--lib/Kconfig.debug17
2 files changed, 0 insertions, 18 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 9c10b9852563..a3928d4438b5 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -231,7 +231,6 @@ config AUDIT_COMPAT_GENERIC
231 231
232config RANDOM32_SELFTEST 232config RANDOM32_SELFTEST
233 bool "PRNG perform self test on init" 233 bool "PRNG perform self test on init"
234 default n
235 help 234 help
236 This option enables the 32 bit PRNG library functions to perform a 235 This option enables the 32 bit PRNG library functions to perform a
237 self test on initialization. 236 self test on initialization.
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index ab1b599202bc..3589765141a8 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1220,7 +1220,6 @@ config LOCK_TORTURE_TEST
1220 tristate "torture tests for locking" 1220 tristate "torture tests for locking"
1221 depends on DEBUG_KERNEL 1221 depends on DEBUG_KERNEL
1222 select TORTURE_TEST 1222 select TORTURE_TEST
1223 default n
1224 help 1223 help
1225 This option provides a kernel module that runs torture tests 1224 This option provides a kernel module that runs torture tests
1226 on kernel locking primitives. The kernel module may be built 1225 on kernel locking primitives. The kernel module may be built
@@ -1687,7 +1686,6 @@ config LKDTM
1687 tristate "Linux Kernel Dump Test Tool Module" 1686 tristate "Linux Kernel Dump Test Tool Module"
1688 depends on DEBUG_FS 1687 depends on DEBUG_FS
1689 depends on BLOCK 1688 depends on BLOCK
1690 default n
1691 help 1689 help
1692 This module enables testing of the different dumping mechanisms by 1690 This module enables testing of the different dumping mechanisms by
1693 inducing system failures at predefined crash points. 1691 inducing system failures at predefined crash points.
@@ -1721,7 +1719,6 @@ config KPROBES_SANITY_TEST
1721 bool "Kprobes sanity tests" 1719 bool "Kprobes sanity tests"
1722 depends on DEBUG_KERNEL 1720 depends on DEBUG_KERNEL
1723 depends on KPROBES 1721 depends on KPROBES
1724 default n
1725 help 1722 help
1726 This option provides for testing basic kprobes functionality on 1723 This option provides for testing basic kprobes functionality on
1727 boot. Samples of kprobe and kretprobe are inserted and 1724 boot. Samples of kprobe and kretprobe are inserted and
@@ -1732,7 +1729,6 @@ config KPROBES_SANITY_TEST
1732config BACKTRACE_SELF_TEST 1729config BACKTRACE_SELF_TEST
1733 tristate "Self test for the backtrace code" 1730 tristate "Self test for the backtrace code"
1734 depends on DEBUG_KERNEL 1731 depends on DEBUG_KERNEL
1735 default n
1736 help 1732 help
1737 This option provides a kernel module that can be used to test 1733 This option provides a kernel module that can be used to test
1738 the kernel stack backtrace code. This option is not useful 1734 the kernel stack backtrace code. This option is not useful
@@ -1802,7 +1798,6 @@ config TEST_PRINTF
1802 1798
1803config TEST_BITMAP 1799config TEST_BITMAP
1804 tristate "Test bitmap_*() family of functions at runtime" 1800 tristate "Test bitmap_*() family of functions at runtime"
1805 default n
1806 help 1801 help
1807 Enable this option to test the bitmap functions at boot. 1802 Enable this option to test the bitmap functions at boot.
1808 1803
@@ -1823,7 +1818,6 @@ config TEST_OVERFLOW
1823 1818
1824config TEST_RHASHTABLE 1819config TEST_RHASHTABLE
1825 tristate "Perform selftest on resizable hash table" 1820 tristate "Perform selftest on resizable hash table"
1826 default n
1827 help 1821 help
1828 Enable this option to test the rhashtable functions at boot. 1822 Enable this option to test the rhashtable functions at boot.
1829 1823
@@ -1831,7 +1825,6 @@ config TEST_RHASHTABLE
1831 1825
1832config TEST_HASH 1826config TEST_HASH
1833 tristate "Perform selftest on hash functions" 1827 tristate "Perform selftest on hash functions"
1834 default n
1835 help 1828 help
1836 Enable this option to test the kernel's integer (<linux/hash.h>), 1829 Enable this option to test the kernel's integer (<linux/hash.h>),
1837 string (<linux/stringhash.h>), and siphash (<linux/siphash.h>) 1830 string (<linux/stringhash.h>), and siphash (<linux/siphash.h>)
@@ -1842,7 +1835,6 @@ config TEST_HASH
1842 1835
1843config TEST_PARMAN 1836config TEST_PARMAN
1844 tristate "Perform selftest on priority array manager" 1837 tristate "Perform selftest on priority array manager"
1845 default n
1846 depends on PARMAN 1838 depends on PARMAN
1847 help 1839 help
1848 Enable this option to test priority array manager on boot 1840 Enable this option to test priority array manager on boot
@@ -1852,7 +1844,6 @@ config TEST_PARMAN
1852 1844
1853config TEST_LKM 1845config TEST_LKM
1854 tristate "Test module loading with 'hello world' module" 1846 tristate "Test module loading with 'hello world' module"
1855 default n
1856 depends on m 1847 depends on m
1857 help 1848 help
1858 This builds the "test_module" module that emits "Hello, world" 1849 This builds the "test_module" module that emits "Hello, world"
@@ -1866,7 +1857,6 @@ config TEST_LKM
1866 1857
1867config TEST_USER_COPY 1858config TEST_USER_COPY
1868 tristate "Test user/kernel boundary protections" 1859 tristate "Test user/kernel boundary protections"
1869 default n
1870 depends on m 1860 depends on m
1871 help 1861 help
1872 This builds the "test_user_copy" module that runs sanity checks 1862 This builds the "test_user_copy" module that runs sanity checks
@@ -1879,7 +1869,6 @@ config TEST_USER_COPY
1879 1869
1880config TEST_BPF 1870config TEST_BPF
1881 tristate "Test BPF filter functionality" 1871 tristate "Test BPF filter functionality"
1882 default n
1883 depends on m && NET 1872 depends on m && NET
1884 help 1873 help
1885 This builds the "test_bpf" module that runs various test vectors 1874 This builds the "test_bpf" module that runs various test vectors
@@ -1893,7 +1882,6 @@ config TEST_BPF
1893 1882
1894config FIND_BIT_BENCHMARK 1883config FIND_BIT_BENCHMARK
1895 tristate "Test find_bit functions" 1884 tristate "Test find_bit functions"
1896 default n
1897 help 1885 help
1898 This builds the "test_find_bit" module that measure find_*_bit() 1886 This builds the "test_find_bit" module that measure find_*_bit()
1899 functions performance. 1887 functions performance.
@@ -1902,7 +1890,6 @@ config FIND_BIT_BENCHMARK
1902 1890
1903config TEST_FIRMWARE 1891config TEST_FIRMWARE
1904 tristate "Test firmware loading via userspace interface" 1892 tristate "Test firmware loading via userspace interface"
1905 default n
1906 depends on FW_LOADER 1893 depends on FW_LOADER
1907 help 1894 help
1908 This builds the "test_firmware" module that creates a userspace 1895 This builds the "test_firmware" module that creates a userspace
@@ -1915,7 +1902,6 @@ config TEST_FIRMWARE
1915 1902
1916config TEST_SYSCTL 1903config TEST_SYSCTL
1917 tristate "sysctl test driver" 1904 tristate "sysctl test driver"
1918 default n
1919 depends on PROC_SYSCTL 1905 depends on PROC_SYSCTL
1920 help 1906 help
1921 This builds the "test_sysctl" module. This driver enables to test the 1907 This builds the "test_sysctl" module. This driver enables to test the
@@ -1926,7 +1912,6 @@ config TEST_SYSCTL
1926 1912
1927config TEST_UDELAY 1913config TEST_UDELAY
1928 tristate "udelay test driver" 1914 tristate "udelay test driver"
1929 default n
1930 help 1915 help
1931 This builds the "udelay_test" module that helps to make sure 1916 This builds the "udelay_test" module that helps to make sure
1932 that udelay() is working properly. 1917 that udelay() is working properly.
@@ -1935,7 +1920,6 @@ config TEST_UDELAY
1935 1920
1936config TEST_STATIC_KEYS 1921config TEST_STATIC_KEYS
1937 tristate "Test static keys" 1922 tristate "Test static keys"
1938 default n
1939 depends on m 1923 depends on m
1940 help 1924 help
1941 Test the static key interfaces. 1925 Test the static key interfaces.
@@ -1944,7 +1928,6 @@ config TEST_STATIC_KEYS
1944 1928
1945config TEST_KMOD 1929config TEST_KMOD
1946 tristate "kmod stress tester" 1930 tristate "kmod stress tester"
1947 default n
1948 depends on m 1931 depends on m
1949 depends on BLOCK && (64BIT || LBDAF) # for XFS, BTRFS 1932 depends on BLOCK && (64BIT || LBDAF) # for XFS, BTRFS
1950 depends on NETDEVICES && NET_CORE && INET # for TUN 1933 depends on NETDEVICES && NET_CORE && INET # for TUN