[PATCH] mtd: cafe_nand: register master MTD at most once

Artem Bityutskiy dedekind1 at gmail.com
Mon Aug 15 11:31:13 EDT 2011


On Tue, 2011-08-02 at 16:38 -0700, Brian Norris wrote:
> This patch addresses a regression where a master MTD object might be
> registered twice if no partitions are found. The initial bug report can
> be seen here:
>     http://lists.infradead.org/pipermail/linux-mtd/2011-July/037086.html
> 
> The regression is caused by:
>     commit 0f7451bea72c64d3f0a47850328d52f0315e2ea6
>     "mtd: cafe_nand.c: use mtd_device_parse_register"

Thanks for the fix! For some reason David missed the last merge window
and did not merge the MTD stuff. So we still have a possibility to fix
the original commit, so I folded this into commit 0f7451bea.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list