Skip to content

Commit 248ff02

Browse files
labbottgregkh
authored andcommitted
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>
1 parent 2a9becd commit 248ff02

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

drivers/base/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,16 @@ config DEBUG_DEVRES
213213
If you are unsure about this, Say N here.
214214

215215
config DEBUG_TEST_DRIVER_REMOVE
216-
bool "Test driver remove calls during probe"
216+
bool "Test driver remove calls during probe (UNSTABLE)"
217217
depends on DEBUG_KERNEL
218218
help
219219
Say Y here if you want the Driver core to test driver remove functions
220220
by calling probe, remove, probe. This tests the remove path without
221221
having to unbind the driver or unload the driver module.
222222

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.
224226

225227
config SYS_HYPERVISOR
226228
bool

0 commit comments

Comments
 (0)