lkml.org 
[lkml]   [2016]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 02/10] fault injection: fix Kconfig menu
Date
We need an explicit dependency on FAULT_INJECTION in order to keep
FAIL_MMC_REQUEST (and subsequent entries) inside the FAULT_INJECTION
menu.

Fixes: 28ff4fda9e5b ("mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS")
Cc: Adrien Schildknecht <adrien+dev@schischi.me>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
lib/Kconfig.debug | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 33bc56c..d7cc65a 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1641,7 +1641,8 @@ config FAIL_IO_TIMEOUT

config FAIL_MMC_REQUEST
bool "Fault-injection capability for MMC IO"
- depends on FAULT_INJECTION_DEBUG_FS && MMC
+ depends on FAULT_INJECTION && MMC
+ depends on FAULT_INJECTION_DEBUG_FS
help
Provide fault-injection capability for MMC IO.
This will make the mmc core return data errors. This is
--
2.10.0.479.g221bd91
\
 
 \ /
  Last update: 2016-10-16 17:58    [W:0.150 / U:1.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site