[PATCH] mtd: rawnand: nandsim: Fix the logic when selecting Hamming soft ECC engine

Miquel Raynal miquel.raynal at bootlin.com
Thu Jan 14 10:48:06 EST 2021


On Mon, 2021-01-04 at 09:30:57 UTC, Miquel Raynal wrote:
> I have been fooled by the logic picking the right ECC engine which is
> spread across two functions: *init_module() and *_attach(). I thought
> this driver was not impacted by the recent changes around the ECC
> engines DT parsing logic but in fact it is.
> 
> Reported-by: kernel test robot <oliver.sang at intel.com>
> Fixes: d7157ff49a5b ("mtd: rawnand: Use the ECC framework user input parsing bits")
> Cc: stable at vger.kernel.org
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

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

Miquel



More information about the linux-mtd mailing list