Skip to content

Commit f1b4bd0

Browse files
Mikulas Patockatorvalds
authored andcommitted
fault-injection: reorder config entries
Reorder Kconfig entries, so that menuconfig displays proper indentation. Link: http://lkml.kernel.org/r/alpine.LRH.2.02.1804251601160.30569@file01.intranet.prod.int.rdu2.redhat.com Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7585172 commit f1b4bd0

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

‎lib/Kconfig.debug‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,17 +1506,17 @@ config NETDEV_NOTIFIER_ERROR_INJECT
15061506

15071507
If unsure, say N.
15081508

1509+
config FUNCTION_ERROR_INJECTION
1510+
def_bool y
1511+
depends on HAVE_FUNCTION_ERROR_INJECTION && KPROBES
1512+
15091513
config FAULT_INJECTION
15101514
bool "Fault-injection framework"
15111515
depends on DEBUG_KERNEL
15121516
help
15131517
Provide fault-injection framework.
15141518
For more details, see Documentation/fault-injection/.
15151519

1516-
config FUNCTION_ERROR_INJECTION
1517-
def_bool y
1518-
depends on HAVE_FUNCTION_ERROR_INJECTION && KPROBES
1519-
15201520
config FAILSLAB
15211521
bool "Fault-injection capability for kmalloc"
15221522
depends on FAULT_INJECTION
@@ -1547,23 +1547,19 @@ config FAIL_IO_TIMEOUT
15471547
Only works with drivers that use the generic timeout handling,
15481548
for others it wont do anything.
15491549

1550-
config FAIL_MMC_REQUEST
1551-
bool "Fault-injection capability for MMC IO"
1552-
depends on FAULT_INJECTION_DEBUG_FS && MMC
1553-
help
1554-
Provide fault-injection capability for MMC IO.
1555-
This will make the mmc core return data errors. This is
1556-
useful to test the error handling in the mmc block device
1557-
and to test how the mmc host driver handles retries from
1558-
the block device.
1559-
15601550
config FAIL_FUTEX
15611551
bool "Fault-injection capability for futexes"
15621552
select DEBUG_FS
15631553
depends on FAULT_INJECTION && FUTEX
15641554
help
15651555
Provide fault-injection capability for futexes.
15661556

1557+
config FAULT_INJECTION_DEBUG_FS
1558+
bool "Debugfs entries for fault-injection capabilities"
1559+
depends on FAULT_INJECTION && SYSFS && DEBUG_FS
1560+
help
1561+
Enable configuration of fault-injection capabilities via debugfs.
1562+
15671563
config FAIL_FUNCTION
15681564
bool "Fault-injection capability for functions"
15691565
depends on FAULT_INJECTION_DEBUG_FS && FUNCTION_ERROR_INJECTION
@@ -1574,11 +1570,15 @@ config FAIL_FUNCTION
15741570
an error value and have to handle it. This is useful to test the
15751571
error handling in various subsystems.
15761572

1577-
config FAULT_INJECTION_DEBUG_FS
1578-
bool "Debugfs entries for fault-injection capabilities"
1579-
depends on FAULT_INJECTION && SYSFS && DEBUG_FS
1573+
config FAIL_MMC_REQUEST
1574+
bool "Fault-injection capability for MMC IO"
1575+
depends on FAULT_INJECTION_DEBUG_FS && MMC
15801576
help
1581-
Enable configuration of fault-injection capabilities via debugfs.
1577+
Provide fault-injection capability for MMC IO.
1578+
This will make the mmc core return data errors. This is
1579+
useful to test the error handling in the mmc block device
1580+
and to test how the mmc host driver handles retries from
1581+
the block device.
15821582

15831583
config FAULT_INJECTION_STACKTRACE_FILTER
15841584
bool "stacktrace filter for fault-injection capabilities"

0 commit comments

Comments
 (0)