From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753532AbdCWHeE (ORCPT ); Thu, 23 Mar 2017 03:34:04 -0400 Received: from condef-03.nifty.com ([202.248.20.68]:32267 "EHLO condef-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751054AbdCWHeA (ORCPT ); Thu, 23 Mar 2017 03:34:00 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com v2N76Kwi005814 X-Nifty-SrcIP: [209.85.161.172] MIME-Version: 1.0 In-Reply-To: <20170322220937.202c5180@bbrezillon> References: <1490191680-14481-1-git-send-email-yamada.masahiro@socionext.com> <1490191680-14481-13-git-send-email-yamada.masahiro@socionext.com> <20170322220937.202c5180@bbrezillon> From: Masahiro Yamada Date: Thu, 23 Mar 2017 16:06:19 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 12/53] mtd: nand: denali: support HW_ECC_FIXUP capability To: Boris Brezillon Cc: linux-mtd@lists.infradead.org, Laurent Monat , thorsten.christiansson@idquantique.com, Enrico Jorns , Jason Roberts , Artem Bityutskiy , Dinh Nguyen , Marek Vasut , Brian Norris , Graham Moore , David Woodhouse , Masami Hiramatsu , Chuanxiao Dong , Jassi Brar , Linux Kernel Mailing List , Richard Weinberger , Cyrille Pitchen Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, 2017-03-23 6:09 GMT+09:00 Boris Brezillon : > On Wed, 22 Mar 2017 23:07:19 +0900 > Masahiro Yamada wrote: > >> @@ -339,6 +352,7 @@ struct denali_nand_info { >> int bbtskipbytes; >> int max_banks; >> unsigned int caps; >> +#define DENALI_CAP_HW_ECC_FIXUP BIT(0) > > Can you move this definition outside of the struct denali_nand_info > definition? My idea was to put relevant macros close to the "caps" member. Actually, "struct mmc_host" does similar. If you do not like it, yes, I can move it. Anyway, this is a matter of taste, and I do not have a strong opinion about this. -- Best Regards Masahiro Yamada