Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751750AbdIULco (ORCPT ); Thu, 21 Sep 2017 07:32:44 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:44220 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751605AbdIULcn (ORCPT ); Thu, 21 Sep 2017 07:32:43 -0400 X-Google-Smtp-Source: AOwi7QBvkEMibHj23uIRB9bjcDDuqi0bXJrahh6NouffXnAyDnLfXKqn9WaWAR3ksuGYjW9dNbCrvg== Subject: Re: [PATCH 6/6] lightnvm: include NVM Express driver if OCSSD is selected for build To: Rakesh Pandit , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?Q?Javier_Gonz=c3=a1lez?= References: <20170921112832.GA28582@dhcp-216.srv.tuxera.com> From: =?UTF-8?Q?Matias_Bj=c3=b8rling?= Message-ID: Date: Thu, 21 Sep 2017 13:32:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170921112832.GA28582@dhcp-216.srv.tuxera.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 711 Lines: 24 On 09/21/2017 01:28 PM, Rakesh Pandit wrote: > Because NVM needs BLK_DEV_NVME, select it automatically if we mark NVM > in config file before building kernel. > > Signed-off-by: Rakesh Pandit > --- > drivers/lightnvm/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig > index ead61a9..b3c00cb 100644 > --- a/drivers/lightnvm/Kconfig > +++ b/drivers/lightnvm/Kconfig > @@ -5,6 +5,7 @@ > menuconfig NVM > bool "Open-Channel SSD target support" > depends on BLOCK && HAS_DMA > + select BLK_DEV_NVME > help > Say Y here to get to enable Open-channel SSDs. > > Thanks Rakesh. I've picked it up for 4.15.