mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-18 11:35:31 +04:00
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>