Re: [PATCH v2] mtdblock: tolerate corrected bit-flips

From: Miquel Raynal
Date: Mon Apr 03 2023 - 11:59:41 EST


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@xxxxxxxxx>
> Fixes: e47f68587b82 ("mtd: check for max_bitflips in mtd_read_oob()")
> Cc: <stable@xxxxxxxxxxxxxxx> # v3.7
> Acked-by: Richard Weinberger <richard@xxxxxx>

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

Miquel