]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: rawnand: fsmc: Add missing check after DMA map
authorThomas Fourier <fourier.thomas@gmail.com>
Mon, 7 Jul 2025 07:39:37 +0000 (09:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:24:28 +0000 (16:24 +0200)
commit7d5c223edf892b5978f5dd4a90f0291a7aa2c629
treecfbd837b29a1845266c283c4218ad104176bd587
parent93f1be8de86af67a689a13cb9bd32a8c03ab0e1d
mtd: rawnand: fsmc: Add missing check after DMA map

commit 6c4dab38431fee3d39a841d66ba6f2890b31b005 upstream.

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

Fixes: 4774fb0a48aa ("mtd: nand/fsmc: Add DMA support")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Rule: add
Link: https://lore.kernel.org/stable/20250702065806.20983-2-fourier.thomas%40gmail.com
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/raw/fsmc_nand.c