]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: rawnand: renesas: Add missing check after DMA map
authorThomas Fourier <fourier.thomas@gmail.com>
Wed, 2 Jul 2025 08:01:06 +0000 (10:01 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Jul 2025 09:27:30 +0000 (11:27 +0200)
commit79e441ee47949376e3bc20f085cf017b70523d0f
treece13d7f3d7925b6cff1827e7cf902928c036fd9c
parentfdfb040d0bc5963b7f107cc0711a62cd6ed1682c
mtd: rawnand: renesas: Add missing check after DMA map

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

Fixes: d8701fe890ec ("mtd: rawnand: renesas: Add new NAND controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/renesas-nand-controller.c