]> 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:26:07 +0000 (16:26 +0200)
commit75399c71c56cf9525135ccad40f8f7e2d7a43fe4
tree8bfd28d48fa4aa956ddfe54f5a8b856b514bd845
parentc63eb72db1b14fa5e705297e463eef6e6134dd50
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