Re: [PATCH v4 1/5] mtd: nand: return consistent error codes in ecc.correct() implementations

2016-01-06 Thread Brian Norris
On Wed, Dec 30, 2015 at 08:32:03PM +0100, Boris Brezillon wrote: > The error code returned by the ecc.correct() are not consistent over the > all implementations. > > Document the expected behavior in include/linux/mtd/nand.h and fix > offending implementations. > > Signed-off-by: Boris Brezillon

[PATCH v4 1/5] mtd: nand: return consistent error codes in ecc.correct() implementations

2015-12-30 Thread Boris Brezillon
The error code returned by the ecc.correct() are not consistent over the all implementations. Document the expected behavior in include/linux/mtd/nand.h and fix offending implementations. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/bf5xx_nand.c