Re: [PATCH v2] mtd: rawnand: marvell: fix layouts

From: Miquel Raynal
Date: Mon Feb 05 2024 - 07:53:34 EST


Hi Elad,

enachman@xxxxxxxxxxx wrote on Wed, 3 Jan 2024 15:37:40 +0200:

> From: Elad Nachman <enachman@xxxxxxxxxxx>
>
> The check in nand_base.c, nand_scan_tail() : has the following code:
> (ecc->steps * ecc->size != mtd->writesize) which fails for some NAND chips.
> Remove ECC entries in this driver which are not integral multiplications,
> and adjust the number of chunks for entries which fails the above
> calculation so it will calculate correctly (this was previously done
> automatically before the check and was removed in a later commit).
>
> Fixes: 68c18dae6888 ("mtd: rawnand: marvell: add missing layouts")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Elad Nachman <enachman@xxxxxxxxxxx>

For some reasons, your patch reached the lkml but not
linux-mtd... At least it does not appear on lore nor
patchwork. Can you please resend?

Thanks,
Miquèl