On Tue, 2020-05-26 at 19:56:18 UTC, Miquel Raynal wrote: > NAND ECC modes (or providers) have their own enumeration but, unlike > their algorithms counterpart, there is no invalid or uninitialized > value to discriminate between an error and having chosen a no-ECC > situation. Add an "invalid" entry for this purpose. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel