1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/generic/files/drivers/mtd
INAGAKI Hiroshi 5aab294726 kernel: generic: mtdsplit_seil: return 0 instead of -ENODEV
Return 0 if the current mtd is inactive or no valid header/rootfs found,
instead of -ENODEV.
Linux Kernel 6.7 and later versions handle all errors returned by mtd
parsers, including -ENODEV as error. So '0' needs to be returned if no
child partitions were not parsed.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20697
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-11-08 21:36:29 +01:00
..
mtdsplit kernel: generic: mtdsplit_seil: return 0 instead of -ENODEV 2025-11-08 21:36:29 +01:00
nand kernel: mtk_bmt: counteracting calloc-transposed-args compiler warning 2025-05-13 22:07:11 +02:00
parsers generic: routerbootpart: fix compilation on 64-bit 2024-06-06 11:45:03 +02:00