[PATCH] mtd: cmdlinepart: fix the wrong check condition

Huang Shijie shijie8 at gmail.com
Sat Aug 25 03:08:35 EDT 2012


On Fri, Aug 24, 2012 at 12:06 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:

> So you may also just add
>
> if (!mtd_id)
>         return 0
>
> at the beginning?

yes. Your code is better then mine.


Huang Shijie



More information about the linux-mtd mailing list