Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758997AbcJRJcn (ORCPT ); Tue, 18 Oct 2016 05:32:43 -0400 Received: from mail-qt0-f178.google.com ([209.85.216.178]:35542 "EHLO mail-qt0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbcJRJcf (ORCPT ); Tue, 18 Oct 2016 05:32:35 -0400 MIME-Version: 1.0 In-Reply-To: <20161016155612.4784-2-vegard.nossum@oracle.com> References: <20161016155612.4784-1-vegard.nossum@oracle.com> <20161016155612.4784-2-vegard.nossum@oracle.com> From: Ulf Hansson Date: Tue, 18 Oct 2016 11:32:33 +0200 Message-ID: Subject: Re: [PATCH 02/10] fault injection: fix Kconfig menu To: Vegard Nossum Cc: Akinobu Mita , "linux-kernel@vger.kernel.org" , Adrien Schildknecht Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1210 Lines: 36 On 16 October 2016 at 17:56, Vegard Nossum wrote: > 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 Acked-by: Ulf Hansson Kind regards Uffe > --- > 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 >