Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455848

[PATCH 02/10] fault injection: fix Kconfig menu

From Vegard Nossum <vegard.nossum@oracle.com>
Newsgroups linux.kernel
Subject [PATCH 02/10] fault injection: fix Kconfig menu
Date 2016-08-03 17:20 +0200
Message-ID <s267E-4aR-13@gated-at.bofh.it> (permalink)
References <s267D-4aR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 2307d7c..6baa522 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
-- 
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 02/10] fault injection: fix Kconfig menu Vegard Nossum <vegard.nossum@oracle.com> - 2016-08-03 17:20 +0200

csiph-web