[PATCH v2] mtdblock: tolerate corrected bit-flips

Miquel Raynal miquel.raynal at bootlin.com
Mon Apr 3 08:59:16 PDT 2023


On Tue, 2023-03-28 at 16:30:12 UTC, Bang Li wrote:
> mtd_read() may return -EUCLEAN in case of corrected bit-flips.This
> particular condition should not be treated like an error.
> 
> Signed-off-by: Bang Li <libang.linuxer at gmail.com>
> Fixes: e47f68587b82 ("mtd: check for max_bitflips in mtd_read_oob()")
> Cc: <stable at vger.kernel.org> # v3.7
> Acked-by: Richard Weinberger <richard at nod.at>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.

Miquel



More information about the linux-mtd mailing list