Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754114AbdGCMDm (ORCPT ); Mon, 3 Jul 2017 08:03:42 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35742 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752775AbdGCMDj (ORCPT ); Mon, 3 Jul 2017 08:03:39 -0400 MIME-Version: 1.0 In-Reply-To: <20170703112621.rd3ija3efqlq57rg@dell> References: <1498681836-3765-1-git-send-email-andrea.adami@gmail.com> <1498681836-3765-4-git-send-email-andrea.adami@gmail.com> <20170703112621.rd3ija3efqlq57rg@dell> From: Andrea Adami Date: Mon, 3 Jul 2017 14:03:32 +0200 Message-ID: Subject: Re: [PATCH v4 3/9] mfd: tmio.h: support partition parser types To: Lee Jones Cc: linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , Wolfram Sang , Daniel Mack , Haojian Zhuang , Dmitry Eremin-Solenikov , Robert Jarzmik , Linus Walleij , Russell King , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v63C3rBB025685 Content-Length: 1519 Lines: 52 On Mon, Jul 3, 2017 at 1:26 PM, Lee Jones wrote: > Please use the $SUBJECT line expected by the subsystem. > > `git log --oneline -- $SUBSYSTEM` can help with this. > > You also need a commit log. > Lee, thanks for spotting it. I'll fix the subject and add a little text in these patches touching headers. I am awaiting for a new review of the big piece of the patch, the ftl/parser, then I'll send a fixed v5. >> Signed-off-by: Andrea Adami >> --- >> include/linux/mfd/tmio.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h >> index a1520d8..23bb069 100644 >> --- a/include/linux/mfd/tmio.h >> +++ b/include/linux/mfd/tmio.h >> @@ -139,6 +139,7 @@ struct tmio_nand_data { >> struct nand_bbt_descr *badblock_pattern; >> struct mtd_partition *partition; >> unsigned int num_partitions; >> + const char *const *types; /* names of parsers to use if any */ > > I'm okay with this if it's suits the MTD folk. > Other than kerneldoc comments there are maybe other little discordances to settle: see above is *partition, num_partitions. In the other header it is *partitions, nr_partitions ...I'll see if oneday I can janiitor this. Regards Andrea >> }; >> >> #define FBIO_TMIO_ACC_WRITE 0x7C639300 > > -- > Lee Jones > Linaro STMicroelectronics Landing Team Lead > Linaro.org │ Open source software for ARM SoCs > Follow Linaro: Facebook | Twitter | Blog