kernel: mtdsplit_minor: use -ENOENT instead of -ENODEV
authorChristian Marangi <[email protected]>
Thu, 20 Nov 2025 22:41:30 +0000 (23:41 +0100)
committerChristian Marangi <[email protected]>
Thu, 20 Nov 2025 22:42:12 +0000 (23:42 +0100)
commitf9eaa1cf1f3bb4e6904b629ecc03e93534c67f2a
tree34e17a525959223ff47965f39337e13150617023
parent91a9fb746045e5a175948154784e4a21c2a36ed1
kernel: mtdsplit_minor: use -ENOENT instead of -ENODEV

New linux version will check the return code of parser on subpartitions.
The only valid case for skipping a parser with an error is -ENOENT.

Change the relevant entry to -ENOENT.

Signed-off-by: Christian Marangi <[email protected]>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_minor.c