From: Tony Lindgren <tony@atomide.com>
To: "Kamat, Nishant" <nskamat@ti.com>
Cc: Kyungmin Park <kmpark@infradead.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: [PATCH] MTD: OMAP2-NAND: Fix partition reading from board info
Date: Mon, 4 Aug 2008 17:24:30 +0300 [thread overview]
Message-ID: <20080804142426.GK8885@atomide.com> (raw)
In-Reply-To: <DFEF307E035C8647B119E6A60DB62D4AE47C155A@dlee02.ent.ti.com>
* Kamat, Nishant <nskamat@ti.com> [080703 14:55]:
> Hi,
>
>
> > Kyungmin Park on July 02, 2008 4:57 AM, wrote:
> >
> > Hi,
> >
> > It's should be sent to MTD list. and we also fix the NOR similar ways.
> > It's already posted but not committed.
>
>
> Posting the patch on MTD list. Please merge.
Looks like this driver does not exist outside linux-omap tree, care to
send the whole driver to MTD list?
Pushing this fix to linux-omap tree meanwhile.
Tony
> ---< Cut here >---
>
> From: Nishant Kamat <nskamat@ti.com>
>
> This patch fixes the omap2 nand driver code that allows
> reading of partition data from board info.
>
> The parse_mtd_partitions() function no longer returns a
> negative error in case cmdline is not passed.
> See commit: b0d06afb607
>
> Signed-off-by: Nishant Kamat <nskamat@ti.com>
> ---
> drivers/mtd/nand/omap2.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-omap-ti.ldp/drivers/mtd/nand/omap2.c
> ===================================================================
> --- linux-omap-ti.ldp.orig/drivers/mtd/nand/omap2.c 2008-06-30 22:01:50.000000000 +0530
> +++ linux-omap-ti.ldp/drivers/mtd/nand/omap2.c 2008-06-30 22:03:34.446471469 +0530
> @@ -699,7 +699,7 @@
> err = parse_mtd_partitions(&info->mtd, part_probes, &info->parts, 0);
> if (err > 0)
> add_mtd_partitions(&info->mtd, info->parts, err);
> - else if (err < 0 && pdata->parts)
> + else if (pdata->parts)
> add_mtd_partitions(&info->mtd, pdata->parts, pdata->nr_parts);
> else
> #endif
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: "Kamat, Nishant" <nskamat@ti.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
Kyungmin Park <kmpark@infradead.org>
Subject: Re: [PATCH] MTD: OMAP2-NAND: Fix partition reading from board info
Date: Mon, 4 Aug 2008 17:24:30 +0300 [thread overview]
Message-ID: <20080804142426.GK8885@atomide.com> (raw)
In-Reply-To: <DFEF307E035C8647B119E6A60DB62D4AE47C155A@dlee02.ent.ti.com>
* Kamat, Nishant <nskamat@ti.com> [080703 14:55]:
> Hi,
>
>
> > Kyungmin Park on July 02, 2008 4:57 AM, wrote:
> >
> > Hi,
> >
> > It's should be sent to MTD list. and we also fix the NOR similar ways.
> > It's already posted but not committed.
>
>
> Posting the patch on MTD list. Please merge.
Looks like this driver does not exist outside linux-omap tree, care to
send the whole driver to MTD list?
Pushing this fix to linux-omap tree meanwhile.
Tony
> ---< Cut here >---
>
> From: Nishant Kamat <nskamat@ti.com>
>
> This patch fixes the omap2 nand driver code that allows
> reading of partition data from board info.
>
> The parse_mtd_partitions() function no longer returns a
> negative error in case cmdline is not passed.
> See commit: b0d06afb607
>
> Signed-off-by: Nishant Kamat <nskamat@ti.com>
> ---
> drivers/mtd/nand/omap2.c | 2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-omap-ti.ldp/drivers/mtd/nand/omap2.c
> ===================================================================
> --- linux-omap-ti.ldp.orig/drivers/mtd/nand/omap2.c 2008-06-30 22:01:50.000000000 +0530
> +++ linux-omap-ti.ldp/drivers/mtd/nand/omap2.c 2008-06-30 22:03:34.446471469 +0530
> @@ -699,7 +699,7 @@
> err = parse_mtd_partitions(&info->mtd, part_probes, &info->parts, 0);
> if (err > 0)
> add_mtd_partitions(&info->mtd, info->parts, err);
> - else if (err < 0 && pdata->parts)
> + else if (pdata->parts)
> add_mtd_partitions(&info->mtd, pdata->parts, pdata->nr_parts);
> else
> #endif
next prev parent reply other threads:[~2008-08-04 14:47 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 14:32 [PATCH] MTD: OMAP2-NAND: Fix partition reading from board info Kamat, Nishant
2008-07-01 23:27 ` Kyungmin Park
2008-07-03 9:18 ` Kamat, Nishant
2008-07-03 9:18 ` Kamat, Nishant
2008-08-04 14:24 ` Tony Lindgren [this message]
2008-08-04 14:24 ` Tony Lindgren
2008-08-04 20:02 ` David Brownell
2008-08-04 20:02 ` David Brownell
2008-08-04 20:17 ` Lennert Buytenhek
2008-08-04 20:17 ` Lennert Buytenhek
2008-08-04 20:26 ` David Brownell
2008-08-04 20:26 ` David Brownell
2008-08-04 20:56 ` Lennert Buytenhek
2008-08-04 21:37 ` David Brownell
2008-08-04 21:42 ` Lennert Buytenhek
2008-08-04 21:23 ` Woodruff, Richard
2008-08-04 21:23 ` Woodruff, Richard
2008-08-04 21:32 ` Lennert Buytenhek
2008-08-04 21:32 ` Lennert Buytenhek
2008-08-04 21:45 ` Woodruff, Richard
2008-08-04 21:45 ` Woodruff, Richard
2008-08-04 21:49 ` Lennert Buytenhek
2008-08-04 22:10 ` Woodruff, Richard
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=20080804142426.GK8885@atomide.com \
--to=tony@atomide.com \
--cc=kmpark@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=nskamat@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.