Re: [PATCH 2/2] mtd: Check add_mtd_device() ret code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

On Wed, 30 Jan 2019 10:16:33 +0100
Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

> 
> A tree based on last week's l2-mtd/master, i.e. lacking commit f7fd818cca0cea3d
> ("mtd: Remove empty lines at end of sysfs related functions").
> 
> This is the one triggering:
> 
>         if (WARN_ON((!mtd->erasesize || !mtd->_erase) &&
>                     !(mtd->flags & MTD_NO_ERASE)))
>                 return -EINVAL;

Do you think you'll have time to test [1]? I'd like to make that patch
part of my fixes PR if possible. If you can't, that's fine, just let me
know.

Thanks,

Boris

[1]http://patchwork.ozlabs.org/patch/1033458/

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux