Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756491AbbFPNij (ORCPT ); Tue, 16 Jun 2015 09:38:39 -0400 Received: from imx9.toshiba.co.jp ([106.186.93.47]:40548 "EHLO imx9.toshiba.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754186AbbFPNib (ORCPT ); Tue, 16 Jun 2015 09:38:31 -0400 Message-ID: <558026B3.9080206@toshiba.co.jp> Date: Tue, 16 Jun 2015 22:37:55 +0900 From: KOBAYASHI Yoshitake User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Paul Bolle Cc: dwmw2@infradead.org, computersforpeace@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mtd: nand: support for Toshiba BENAND (Built-in ECC NAND) References: <1434038402-26365-1-git-send-email-yoshitake.kobayashi@toshiba.co.jp> <1434096662.2271.130.camel@x220> In-Reply-To: <1434096662.2271.130.camel@x220> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1175 Lines: 38 On 2015/06/12 17:11, Paul Bolle wrote: > On Fri, 2015-06-12 at 01:00 +0900, KOBAYASHI Yoshitake wrote: >> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig >> index 5897d8d..050f0e9 100644 > >> +config MTD_NAND_BENAND >> + tristate >> + depends on MTD_NAND_BENAND_ENABLE >> + default MTD_NAND >> + >> +config MTD_NAND_BENAND_ENABLE >> + bool "Support for Toshiba BENAND (Built-in ECC NAND)" >> + default y > > Why do you default to 'y'? Setting the config to 'y' will not affect the SLCNAND operation. I thought it is common to use BENAND and other vendor SLCNAND together in the same model with same software build. >> --- /dev/null >> +++ b/drivers/mtd/nand/nand_benand.c > >> +EXPORT_SYMBOL(nand_benand_status_chk); > > I didn't spot any users of nand_benand_status_chk() outside of this > file. Why is this export needed? I agree with you. Thanks for checking. I will delete this in next patch. -- Yoshi -- 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/