From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757977AbcHCPLN (ORCPT ); Wed, 3 Aug 2016 11:11:13 -0400 Received: from userp1050.oracle.com ([156.151.31.82]:51449 "EHLO userp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756274AbcHCPKI (ORCPT ); Wed, 3 Aug 2016 11:10:08 -0400 From: Vegard Nossum To: Akinobu Mita , Peter Zijlstra , Ingo Molnar Cc: linux-kernel@vger.kernel.org, Vegard Nossum , Adrien Schildknecht , Ulf Hansson Subject: [PATCH 02/10] fault injection: fix Kconfig menu Date: Wed, 3 Aug 2016 17:05:47 +0200 Message-Id: <1470236755-29844-2-git-send-email-vegard.nossum@oracle.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1470236755-29844-1-git-send-email-vegard.nossum@oracle.com> References: <1470236755-29844-1-git-send-email-vegard.nossum@oracle.com> X-Source-IP: userp1040.oracle.com [156.151.31.81] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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