[PATCH 05/20] mtd: nand: ecc-bch: Return only valid error codes

Miquel Raynal miquel.raynal at bootlin.com
Fri Oct 30 13:29:58 EDT 2020


On Tue, 2020-09-29 at 23:01:09 UTC, Miquel Raynal wrote:
> When a function is not available, returning -ENOTSUPP makes much more
> sense than returning -1.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

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

Miquel



More information about the linux-mtd mailing list