Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757302AbcJPP4a (ORCPT ); Sun, 16 Oct 2016 11:56:30 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:46609 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757247AbcJPP4Z (ORCPT ); Sun, 16 Oct 2016 11:56:25 -0400 From: Vegard Nossum To: Akinobu Mita Cc: linux-kernel@vger.kernel.org, Vegard Nossum , Adrien Schildknecht , Ulf Hansson Subject: [PATCH 02/10] fault injection: fix Kconfig menu Date: Sun, 16 Oct 2016 17:56:04 +0200 Message-Id: <20161016155612.4784-2-vegard.nossum@oracle.com> X-Mailer: git-send-email 2.10.0.479.g221bd91 In-Reply-To: <20161016155612.4784-1-vegard.nossum@oracle.com> References: <20161016155612.4784-1-vegard.nossum@oracle.com> X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 28 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 Cc: Ulf Hansson Signed-off-by: Vegard Nossum --- 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