[U-Boot] [PATCH] mtd: Use get_mtdids() instead of env_get("mtdids") in mtd_search_alternate_name()
Miquel Raynal
miquel.raynal at bootlin.com
Sat Nov 17 10:59:52 UTC 2018
Hi Boris,
Boris Brezillon <boris.brezillon at bootlin.com> wrote on Fri, 16 Nov 2018
23:15:42 +0100:
> The environment is not guaranteed to contain a valid mtdids variable
> when called from mtd_search_alternate_name(). Call get_mtdids() instead
> of env_get("mtdids").
>
> Fixes: ff4afa8a981e ("mtd: uboot: search for an equivalent MTD name with the mtdids")
> Signed-off-by: Boris Brezillon <boris.brezillon at bootlin.com>
> ---
Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
Thanks,
Miquèl
More information about the U-Boot
mailing list