8 Commits

Author SHA1 Message Date
Markus Stockhausen
4345acfd4f kernel: mtdsplit_uimage: return 0 if not fatal
Introduced with Linux 6.7, in commit:
5c2f7727d437 ("mtd: mtdpart: check for subpartitions parsing result"),
when a parser returns an error, this will be passed up, and
consequently, all parent mtd partitions get torn down.

Adjust the mtdsplit_uimage driver to only return an error if there is a
critical problem in reading from the mtd device or allocating memory.
Otherwise return 0 to indicate that no partitions were found.
Also add logging to indicate what went wrong.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2025-06-24 22:30:29 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
coolsnowwolf
5f00fa0f8b ar71xx: backport kernel 4.9 support 2019-02-13 21:50:29 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
d52748954a Revert "sync with upstream patch"
This reverts commit a01e7df608655f715728d6e7df6e24b0e169f008.
2019-01-03 15:20:58 +08:00
coolsnowwolf
a01e7df608 sync with upstream patch 2019-01-02 21:48:12 +08:00
coolsnowwolf
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00