kernel: mtdsplit_uimage: use -ENOENT instead of -ENODEV
authorChristian Marangi <[email protected]>
Thu, 20 Nov 2025 22:30:32 +0000 (23:30 +0100)
committerChristian Marangi <[email protected]>
Thu, 20 Nov 2025 22:42:11 +0000 (23:42 +0100)
commitd21262edcfa22f468ca3ac94e8cdab3d411f0916
tree5c566ead7b73e76e92f37a3ffb167f7573f3b025
parent8e6c6928dacc0a41e647e0fecb8966bb2260c3a6
kernel: mtdsplit_uimage: 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_uimage.c