public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Andrea Adami <andrea.adami@gmail.com>
Cc: linux-mtd@lists.infradead.org,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.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>,
	Lee Jones <lee.jones@linaro.org>, 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 2/9] mtd: nand: sharpsl.h: support partition parser types
Date: Sun, 13 Aug 2017 09:40:19 +0200	[thread overview]
Message-ID: <20170813094019.2fced1d1@bbrezillon> (raw)
In-Reply-To: <1498681836-3765-3-git-send-email-andrea.adami@gmail.com>

Le Wed, 28 Jun 2017 22:30:29 +0200,
Andrea Adami <andrea.adami@gmail.com> a écrit :

Please add a commit message explaining why you're doing that.

> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> ---
>  include/linux/mtd/sharpsl.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h
> index 65e91d0..c0e0be2 100644
> --- a/include/linux/mtd/sharpsl.h
> +++ b/include/linux/mtd/sharpsl.h
> @@ -17,4 +17,5 @@ struct sharpsl_nand_platform_data {
>  	const struct mtd_ooblayout_ops *ecc_layout;
>  	struct mtd_partition	*partitions;
>  	unsigned int		nr_partitions;
> +	const char *const	*types;	/* names of parsers to use if any */

types is not really descriptive here. How about 'part_parsers' or
something clearly reflecting the purpose of this field.

BTW, try to avoid putting comments on the same line.

>  };

  reply	other threads:[~2017-08-13  7:40 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 [this message]
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
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=20170813094019.2fced1d1@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=andrea.adami@gmail.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=lee.jones@linaro.org \
    --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