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
..
2024-10-01 14:11:04 +08:00
2024-10-31 16:53:49 +08:00
2024-12-18 22:11:53 +08:00
2025-04-14 10:00:19 +08:00
2025-06-23 21:00:02 +08:00
2024-10-01 14:11:04 +08:00
2025-01-14 22:20:28 +08:00
2025-01-14 22:20:28 +08:00
2025-01-14 22:20:28 +08:00
2025-06-23 21:00:02 +08:00
2025-06-23 21:00:02 +08:00
2017-09-06 19:19:45 +08:00