[PATCH] mtd: rawnand: atmel: Check return values for nand_read_data_op

Miquel Raynal miquel.raynal at bootlin.com
Tue Sep 15 04:10:40 EDT 2020


On Mon, 2020-09-14 at 21:42:44 UTC, Alex Dewar wrote:
> In atmel_nand_pmecc_read_pg(), nand_read_data_op() is called twice
> without the return values being checked for errors. Add these checks.
> 
> Signed-off-by: Alex Dewar <alex.dewar90 at gmail.com>

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

Miquel



More information about the linux-arm-kernel mailing list