summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/block.c
diff options
context:
space:
mode:
authorAlex Dewar <alex.dewar90@gmail.com>2020-09-14 22:42:44 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-09-30 16:44:17 +0200
commitd27c9859a0c2f270972c26df6b2d2cc69c6d30f4 (patch)
treec7aab97fffadaf471403fd535afc429f413a873a /drivers/mtd/ubi/block.c
parentf7721e4bfec16c9e95e26f4b66bc4574076822d9 (diff)
downloadlinux-d27c9859a0c2f270972c26df6b2d2cc69c6d30f4.tar.bz2
mtd: rawnand: atmel: Check return values for nand_read_data_op
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@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20200914214245.14626-1-alex.dewar90@gmail.com
Diffstat (limited to 'drivers/mtd/ubi/block.c')
0 files changed, 0 insertions, 0 deletions