]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:36 +0000 (16:28 +0200)
commitd1f59c792c6f6ef75781abeb3e8c6ce77ce95ca0
tree94d41f2e3d537e7ba1dda49e15171be6a5853a7e
parentfcb12d1e4163723e6c9cc6d96778f8fada7e1a25
mtd: rawnand: renesas: Add missing check after DMA map

commit 79e441ee47949376e3bc20f085cf017b70523d0f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/raw/renesas-nand-controller.c