linux-stable/tools
Steven Rostedt 2d308bd0ba ktest.pl minconfig: Unset configs instead of just removing them
commit ef784eebb5 upstream.

After a full run of a make_min_config test, I noticed there were a lot of
CONFIGs still enabled that really should not be. Looking at them, I
noticed they were all defined as "default y". The issue is that the test
simple removes the config and re-runs make oldconfig, which enables it
again because it is set to default 'y'. Instead, explicitly disable the
config with writing "# CONFIG_FOO is not set" to the file to keep it from
being set again.

With this change, one of my box's minconfigs went from 768 configs set,
down to 521 configs set.

Link: https://lkml.kernel.org/r/20221202115936.016fce23@gandalf.local.home

Cc: stable@vger.kernel.org
Fixes: 0a05c769a9 ("ktest: Added config_bisect test type")
Reviewed-by: John 'Warthog9' Hawley (VMware) <warthog9@eaglescrag.net>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-07 12:07:35 +01:00
..
accounting tools/accounting/getdelays.c: fix netlink attribute length 2020-04-13 10:32:56 +02:00
arch x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE 2022-03-11 10:03:30 +01:00
build tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts 2022-04-20 09:06:44 +02:00
cgroup
firewire
gpio tools: gpio-hammer: Avoid potential overflow in main 2020-10-01 20:40:10 +02:00
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2019-09-10 10:31:02 +01:00
iio tools: iio: iio_utils: fix digit calculation 2022-11-03 23:49:16 +09:00
include tools lib: Fix builds when glibc contains strlcpy() 2020-02-05 13:05:44 +00:00
kvm/kvm_stat tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
laptop tools: move laptops dslm tool from Documentation 2016-09-23 13:07:21 -06:00
lguest tools/lguest: Don't bork the terminal in case of wrong args 2016-09-08 08:05:24 +02:00
lib libsubcmd: Fix use-after-free for realloc(..., 0) 2022-02-23 11:56:40 +01:00
net
nfsd
objtool objtool: Don't fail on missing symbol table 2021-02-10 09:09:24 +01:00
pcmcia tools: move pcmcia crc32hash tool from Documentation 2016-09-23 13:07:27 -06:00
perf perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc 2022-10-26 13:15:48 +02:00
power cpupower: avoid multiple definition with gcc -fno-common 2020-04-02 17:20:31 +02:00
scripts tools: Let O= makes handle a relative path with -C option 2020-04-02 17:20:36 +02:00
spi Merge remote-tracking branches 'spi/topic/ti-qspi', 'spi/topic/tools', 'spi/topic/txx9' and 'spi/topic/xlp' into spi-next 2016-09-30 09:14:22 -07:00
testing ktest.pl minconfig: Unset configs instead of just removing them 2023-01-07 12:07:35 +01:00
thermal/tmon tools/thermal: tmon: fix for segfault 2018-05-30 07:50:43 +02:00
time
usb usb: testusb: Fix for showing the connection speed 2021-10-09 13:25:59 +02:00
virtio ptr_ring: fix up after recent ptr_ring changes 2018-11-10 07:42:50 -08:00
vm tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" 2022-12-08 11:15:41 +01:00
Makefile