]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: rawnand: rockchip: Add missing check after DMA map
authorThomas Fourier <fourier.thomas@gmail.com>
Mon, 7 Jul 2025 07:15:50 +0000 (09:15 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Jul 2025 09:27:30 +0000 (11:27 +0200)
commit3b36f86dc47261828f96f826077131a35dd825fd
tree9f344c6d02e972f920449f4a0e845afc5d853abc
parent125100566b8f830365a85930d85134f7dba3b99b
mtd: rawnand: rockchip: Add missing check after DMA map

The DMA map functions can fail and should be tested for errors.

Fixes: 058e0e847d54 ("mtd: rawnand: rockchip: NFC driver for RK3308, RK2928 and others")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/rockchip-nand-controller.c