[PATCH] mtd: mtdpart: ignore error -ENOENT from parsers on subpartitions
Miquel Raynal
miquel.raynal at bootlin.com
Mon Nov 17 02:54:33 PST 2025
On Sun, 09 Nov 2025 12:52:44 +0100, Christian Marangi wrote:
> Commit 5c2f7727d437 ("mtd: mtdpart: check for subpartitions parsing
> result") introduced some kind of regression with parser on subpartitions
> where if a parser emits an error then the entire parsing process from the
> upper parser fails and partitions are deleted.
>
> Not checking for error in subpartitions was originally intended as
> special parser can emit error also in the case of the partition not
> correctly init (for example a wiped partition) or special case where the
> partition should be skipped due to some ENV variables externally
> provided (from bootloader for example)
>
> [...]
Applied to mtd/next, thanks!
[1/1] mtd: mtdpart: ignore error -ENOENT from parsers on subpartitions
commit: 64ef5f454e167bb66cf70104f033c3d71e6ef9c0
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl
More information about the linux-mtd
mailing list