From: "Kyungmin Park" <kmpark@infradead.org>
To: "Kamat, Nishant" <nskamat@ti.com>
Cc: "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: Wed, 2 Jul 2008 08:27:02 +0900 [thread overview]
Message-ID: <9c9fda240807011627v60428f9eh3c2bb17cdc8ce6ea@mail.gmail.com> (raw)
In-Reply-To: <DFEF307E035C8647B119E6A60DB62D4AE47475F8@dlee02.ent.ti.com>
Hi,
It's should be sent to MTD list. and we also fix the NOR similar ways.
It's already posted but not committed.
Thank you,
Kyungmin Park
On Tue, Jul 1, 2008 at 11:32 PM, Kamat, Nishant <nskamat@ti.com> wrote:
>
> From: Nishant Kamat <nskamat@ti.com>
>
> MTD: OMAP2-NAND: Fix partition reading 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next parent reply other threads:[~2008-07-01 23:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DFEF307E035C8647B119E6A60DB62D4AE47475F8@dlee02.ent.ti.com>
2008-07-01 23:27 ` Kyungmin Park [this message]
2008-07-03 9:18 ` [PATCH] MTD: OMAP2-NAND: Fix partition reading from board info Kamat, Nishant
2008-08-04 14:24 ` Tony Lindgren
2008-08-04 20:02 ` David Brownell
2008-08-04 20:17 ` Lennert Buytenhek
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:32 ` Lennert Buytenhek
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=9c9fda240807011627v60428f9eh3c2bb17cdc8ce6ea@mail.gmail.com \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox