From: Lee Jones <lee.jones@linaro.org>
To: Andrea Adami <andrea.adami@gmail.com>
Cc: linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Marek Vasut <marek.vasut@gmail.com>,
Richard Weinberger <richard@nod.at>,
Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
Robert Jarzmik <robert.jarzmik@free.fr>,
Linus Walleij <linus.walleij@linaro.org>,
Russell King <linux@armlinux.org.uk>,
linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v4 3/9] mfd: tmio.h: support partition parser types
Date: Wed, 12 Jul 2017 09:58:04 +0100 [thread overview]
Message-ID: <20170712085804.ya5b3trqbipuel3f@dell> (raw)
In-Reply-To: <CAAQYJAvCdSG25U6DjiD5owC7GHyGnWyyaLD_R-fzuMGUDZN8pQ@mail.gmail.com>
On Wed, 12 Jul 2017, Andrea Adami wrote:
> On Mon, Jul 3, 2017 at 2:03 PM, Andrea Adami <andrea.adami@gmail.com> wrote:
> > On Mon, Jul 3, 2017 at 1:26 PM, Lee Jones <lee.jones@linaro.org> 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.
> >
> >
>
> Lee,
>
> I have looked at the history of mfd/tmio.h but couldn't find
> unambiguous examples.
> Do you prefer
>
> Subject: mfd: tmio: tmio_nand: add partition parsers platform data
> or
> Subject: mfd: tmio: tmio-nand: add partition parsers platform data
> or
> Subject: mfd: tmio: tmio/nand: add partition parsers platform data
Better to look at the subsystem as a whole.
`git log --oneline -- drivers/mfd`
You will see something like:
mfd: device-driver: Short subject starting with an uppercase char
> >>> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> >>> ---
> >>> 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
next prev parent reply other threads:[~2017-07-12 8:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-28 20:30 [PATCH v4 0/9] mtd: sharpslpart partition parser Andrea Adami
2017-06-28 20:30 ` [PATCH v4 1/9] mtd: sharpslpart: add sharpslpart MTD " Andrea Adami
2017-08-12 21:35 ` Brian Norris
2017-08-14 13:33 ` Andrea Adami
2017-06-28 20:30 ` [PATCH v4 2/9] mtd: nand: sharpsl.h: support partition parser types Andrea Adami
2017-08-13 7:40 ` Boris Brezillon
2017-08-14 13:40 ` Andrea Adami
2017-06-28 20:30 ` [PATCH v4 3/9] mfd: tmio.h: " Andrea Adami
2017-07-03 11:26 ` Lee Jones
2017-07-03 12:03 ` Andrea Adami
2017-07-11 22:42 ` Andrea Adami
2017-07-12 8:58 ` Lee Jones [this message]
2017-06-28 20:30 ` [PATCH v4 4/9] mtd: nand: sharpsl.c: take in account " Andrea Adami
2017-06-28 20:30 ` [PATCH v4 5/9] mtd: nand: tmio_nand.c: " Andrea Adami
2017-06-28 20:30 ` [PATCH v4 6/9] ARM: pxa: corgi.c: remove hardcoded partitioning, use sharpslpart parser Andrea Adami
2017-06-28 20:30 ` [PATCH v4 7/9] ARM: pxa: tosa.c: " Andrea Adami
2017-06-28 20:30 ` [PATCH v4 8/9] ARM: pxa: spitz.c: " Andrea Adami
2017-06-28 20:30 ` [PATCH v4 9/9] ARM: pxa: poodle.c: " Andrea Adami
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170712085804.ya5b3trqbipuel3f@dell \
--to=lee.jones@linaro.org \
--cc=andrea.adami@gmail.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=daniel@zonque.org \
--cc=dbaryshkov@gmail.com \
--cc=dwmw2@infradead.org \
--cc=haojian.zhuang@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=marek.vasut@gmail.com \
--cc=richard@nod.at \
--cc=robert.jarzmik@free.fr \
--cc=wsa+renesas@sang-engineering.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox