[PATCH v2] mtdblock: tolerate corrected bit-flips

Richard Weinberger richard at nod.at
Tue Mar 28 09:51:56 PDT 2023


----- Ursprüngliche Mail -----
> Von: "Bang Li" <libang.linuxer at gmail.com>
> An: "Miquel Raynal" <miquel.raynal at bootlin.com>, "richard" <richard at nod.at>, "Vignesh Raghavendra" <vigneshr at ti.com>
> CC: "linux-mtd" <linux-mtd at lists.infradead.org>, "linux-kernel" <linux-kernel at vger.kernel.org>, "Bang Li"
> <libang.linuxer at gmail.com>, "stable" <stable at vger.kernel.org>
> Gesendet: Dienstag, 28. März 2023 18:30:12
> Betreff: [PATCH v2] mtdblock: tolerate corrected bit-flips

> 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>

Thanks,
//richard



More information about the linux-mtd mailing list