public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Brian Norris <computersforpeace@gmail.com>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: Gabor Juhos <juhosg@openwrt.org>, Felix Fietkau <nbd@openwrt.org>,
	linux-mtd@lists.infradead.org, Hauke Mehrtens <hauke@hauke-m.de>
Subject: Re: [PATCH 1/1] mtd: add support for typed parsers splitting partitions
Date: Wed, 20 May 2015 11:45:32 -0700	[thread overview]
Message-ID: <20150520184532.GH11598@ld-irv-0074> (raw)
In-Reply-To: <1431952494-6403-1-git-send-email-zajec5@gmail.com>

I haven't reviewed this entirely yet, but my build tests complained:

On Mon, May 18, 2015 at 02:34:53PM +0200, Rafał Miłecki wrote:
> diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
> index cafdb88..d583d6d 100644
> --- a/drivers/mtd/mtdpart.c
> +++ b/drivers/mtd/mtdpart.c
[...]
> @@ -775,6 +781,72 @@ int parse_mtd_partitions(struct mtd_info *master, const char *const *types,
>  	return ret;
>  }
>  
> +int mtd_parse_typed_partitions(struct mtd_info *slave,
> +			       enum mtd_partition_type type,
> +			       struct mtd_partition **pparts,
> +			       struct mtd_part_parser_data *data)

drivers/mtd/mtdpart.c:784:5: warning: no previous prototype for ‘mtd_parse_typed_partitions’ [-Wmissing-prototypes]
 int mtd_parse_typed_partitions(struct mtd_info *slave,
     ^
drivers/mtd/mtdpart.c:784:5: warning: symbol 'mtd_parse_typed_partitions' was not declared. Should it be static? [sparse]

> +{
> +	struct mtd_part_parser *p = NULL;
> +	bool found;
> +	int ret = 0;
> +
> +	while (1) {

[...]

Brian

  parent reply	other threads:[~2015-05-20 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 12:34 [PATCH 1/1] mtd: add support for typed parsers splitting partitions Rafał Miłecki
2015-05-18 12:34 ` [PATCH PROOF 2/1] mtd: add TRX parser splitting firmware partition Rafał Miłecki
2015-05-20 18:45 ` Brian Norris [this message]
2015-05-21  7:15   ` [PATCH 1/1] mtd: add support for typed parsers splitting partitions Rafał Miłecki
2015-05-26  5:18 ` [PATCH V2 " Rafał Miłecki
2015-05-29 16:15   ` Hauke Mehrtens

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=20150520184532.GH11598@ld-irv-0074 \
    --to=computersforpeace@gmail.com \
    --cc=hauke@hauke-m.de \
    --cc=juhosg@openwrt.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nbd@openwrt.org \
    --cc=zajec5@gmail.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