mirror of
https://github.com/openwrt/openwrt.git
synced 2026-05-03 11:55:46 +04:00
e5ad92c588
Rework each affected mtdsplit driver to make use of -ENOENT error instead of -ENODEV to handle new kernel that checks error from parser on subpartitions. The only acceptable error is -ENOENT that skip the parser. This follow pattern used upstream and also by an mtdsplit parser, mtdsplit_bcm_wfi, and also by a workaround currently implemented for mtdsplit_mstc_boot. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>