mirror of
https://github.com/Ansuel/openwrt.git
synced 2025-12-16 23:12:09 +00:00
kernel: mtdsplit_uimage: use -ENOENT instead of -ENODEV
New linux version will check the return code of parser on subpartitions. The only valid case for skipping a parser with an error is -ENOENT. Change the relevant entry to -ENOENT. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
8e6c6928da
commit
d21262edcf
@ -217,6 +217,7 @@ static int __mtdsplit_parse_uimage(struct mtd_info *master,
|
||||
if (ret) {
|
||||
pr_debug("no rootfs before uImage in \"%s\"\n",
|
||||
master->name);
|
||||
ret = -ENOENT;
|
||||
goto err_free_buf;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user