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


Groups > linux.kernel > #1266731

[PATCH v2] mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS

From Adrien Schildknecht <adrien+dev@schischi.me>
Newsgroups linux.kernel
Subject [PATCH v2] mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS
Date 2015-11-10 20:20 +0100
Message-ID <qtmCt-IR-7@gated-at.bofh.it> (permalink)
References <qtkU1-7ZW-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fault-injection capability for MMC IO uses debugfs entries to configure
the attributes.
FAULT_INJECTION_DEBUG_FS must be enabled to use FAIL_MMC_REQUEST.

Replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS.
Also remove 'select DEBUG_FS' since FAULT_INJECTION_DEBUG_FS depends on
it.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
---
 lib/Kconfig.debug | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 749e886..5c038d2 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1523,8 +1523,7 @@ config FAIL_IO_TIMEOUT
 
 config FAIL_MMC_REQUEST
 	bool "Fault-injection capability for MMC IO"
-	select DEBUG_FS
-	depends on FAULT_INJECTION && MMC
+	depends on FAULT_INJECTION_DEBUG_FS && MMC
 	help
 	  Provide fault-injection capability for MMC IO.
 	  This will make the mmc core return data errors. This is
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mmc: add ifdef around fault_create_debugfs_attr() Adrien Schildknecht <adrien+dev@schischi.me> - 2015-11-06 13:20 +0100
  Re: [PATCH] mmc: add ifdef around fault_create_debugfs_attr() Ulf Hansson <ulf.hansson@linaro.org> - 2015-11-09 14:40 +0100
    Re: [PATCH] mmc: add ifdef around fault_create_debugfs_attr() Adrien Schildknecht <adrien+dev@schischi.me> - 2015-11-10 16:10 +0100
      Re: [PATCH] mmc: add ifdef around fault_create_debugfs_attr() Ulf Hansson <ulf.hansson@linaro.org> - 2015-11-10 18:30 +0100
        [PATCH v2] mmc: kconfig: replace FAULT_INJECTION with FAULT_INJECTION_DEBUG_FS Adrien Schildknecht <adrien+dev@schischi.me> - 2015-11-10 20:20 +0100

csiph-web