kernel: mtdsplit_h3c_vfs: use -ENOENT instead of -ENODEV
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 20 Nov 2025 22:24:01 +0000 (23:24 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 20 Nov 2025 22:42:11 +0000 (23:42 +0100)
commit2acf18bf4deb7d431e4ef3858ae8969a481fe196
tree2139cf3864829bbda6b340ec3126daf572983339
parent728ca2bc393629e8f2eaff4731f118a46018fc24
kernel: mtdsplit_h3c_vfs: 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 <ansuelsmth@gmail.com>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_h3c_vfs.c