openwrt/target/linux/generic
Jan Hoffmann 6fa1775348 kernel: mtdsplit_h3c_vfs: return 0 for non-fatal errors
Since Linux 6.7, introduced with commit 5c2f7727d437 ("mtd: mtdpart:
check for subpartitions parsing result"), errors during subpartition
parsing cause all MTD partitions to be torn down.

Since the current mtdsplit driver for devices using H3C VFS returns
-EINVAL if it does not find a file system containing an OpenWrt image,
this makes initial installation of OpenWrt impossible.

Work around this by returning 0 when the file system contains unexpected
data. Also print a message in this case to show what is going on.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/19475
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-27 18:24:50 +02:00
..
backport-6.6 kernel: bump 6.6 to 6.6.100 2025-07-26 01:00:09 +02:00
backport-6.12 kernel: bump 6.12 to 6.12.39 2025-07-19 11:59:56 +02:00
files kernel: mtdsplit_h3c_vfs: return 0 for non-fatal errors 2025-07-27 18:24:50 +02:00
hack-6.6 kernel: bump 6.6 to 6.6.100 2025-07-26 01:00:09 +02:00
hack-6.12 kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.6 kernel: bump 6.6 to 6.6.100 2025-07-26 01:00:09 +02:00
pending-6.12 kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
config-6.6 kernel: Reorder kernel configuration 2025-07-26 01:11:21 +02:00
config-6.12 kernel: Reorder kernel configuration 2025-07-26 01:11:21 +02:00
config-filter generic: config-filter: filter out CONFIG_PAHOLE_HAS_LANG_EXCLUDE 2025-05-14 11:28:01 +02:00
kernel-6.6 kernel: bump 6.6 to 6.6.100 2025-07-26 01:00:09 +02:00
kernel-6.12 kernel: bump 6.12 to 6.12.40 2025-07-26 01:00:09 +02:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00