kernel: mtk_bmt: allow get_mapping_block to return an error
authorFelix Fietkau <nbd@nbd.name>
Wed, 9 Mar 2022 14:54:52 +0000 (15:54 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 25 Mar 2022 20:11:09 +0000 (21:11 +0100)
commitb4c7f8c5f7a2dab76fe90849e112c6bd8f80ab19
treecd4d49362e67f4befa609ef811cf8f42974e4cfa
parent601c7b4adb0f91005a8755bf9575c68ac623cc33
kernel: mtk_bmt: allow get_mapping_block to return an error

Used by the mapping implementation to indicate that no backing block is
available

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.c
target/linux/generic/files/drivers/mtd/nand/mtk_bmt.h
target/linux/generic/files/drivers/mtd/nand/mtk_bmt_bbt.c
target/linux/generic/files/drivers/mtd/nand/mtk_bmt_v2.c