kernel: mtk_bmt: on error, do not attempt to remap out-of-range blocks
authorFelix Fietkau <nbd@nbd.name>
Wed, 9 Mar 2022 15:14:12 +0000 (16:14 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 25 Mar 2022 20:11:09 +0000 (21:11 +0100)
commitbe1f2b4d9d01594c2fd20f37b8e63e7cb7a81572
tree9137f3e58279157d494e6b9a5068d23ddb9f38dc
parent7d1e2be1605eda85e1a607a3d3ddefed1b961d3d
kernel: mtk_bmt: on error, do not attempt to remap out-of-range blocks

Pass errors to caller instead

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_bbt.c