[PATCH] mtd: Fix error handling in mtd_device_parse_register() error path
Miquel Raynal
miquel.raynal at bootlin.com
Tue Mar 4 03:08:00 PST 2025
On Mon, 03 Mar 2025 22:52:23 +0800, Wentao Liang wrote:
> Check and log del_mtd_device() failures. Print an error message
> with pr_err() to prevent silent failures, but preserve the original
> error code instead of propagating the secondary error since
> del_mtd_device() is already in an error handling path.
>
>
Applied to mtd/next, thanks!
[1/1] mtd: Fix error handling in mtd_device_parse_register() error path
commit: 2a6a44555f0727070643fdde7ffac6571e41327a
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