aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2016-10-07 12:09:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-27 11:47:12 -0400
commit248ff02165437864146d6fbd2d99b2359c3723e6 (patch)
tree09d222e8602965be3b17668c90886f2019c47885 /drivers/base
parent2a9becdd4dbed499815938308bdab9aae70dd561 (diff)
driver core: Make Kconfig text for DEBUG_TEST_DRIVER_REMOVE stronger
The current state of driver removal is not great. CONFIG_DEBUG_TEST_DRIVER_REMOVE finds lots of errors. The help text currently undersells exactly how many errors this option will find. Add a bit more description to indicate this option shouldn't be turned on unless you actually want to debug driver removal. The text can be changed later when more drivers are fixed up. Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index fdf44cac08e6..d02e7c0f5bfd 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -213,14 +213,16 @@ config DEBUG_DEVRES
213 If you are unsure about this, Say N here. 213 If you are unsure about this, Say N here.
214 214
215config DEBUG_TEST_DRIVER_REMOVE 215config DEBUG_TEST_DRIVER_REMOVE
216 bool "Test driver remove calls during probe" 216 bool "Test driver remove calls during probe (UNSTABLE)"
217 depends on DEBUG_KERNEL 217 depends on DEBUG_KERNEL
218 help 218 help
219 Say Y here if you want the Driver core to test driver remove functions 219 Say Y here if you want the Driver core to test driver remove functions
220 by calling probe, remove, probe. This tests the remove path without 220 by calling probe, remove, probe. This tests the remove path without
221 having to unbind the driver or unload the driver module. 221 having to unbind the driver or unload the driver module.
222 222
223 If you are unsure about this, say N here. 223 This option is expected to find errors and may render your system
224 unusable. You should say N here unless you are explicitly looking to
225 test this functionality.
224 226
225config SYS_HYPERVISOR 227config SYS_HYPERVISOR
226 bool 228 bool