2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/mtd/nand
Niravkumar L Rabara 60255f3704 mtd: rawnand: cadence: fix unchecked dereference
Add NULL check before variable dereference to fix static checker warning.

Fixes: d76d22b509 ("mtd: rawnand: cadence: use dma_map_resource for sdma address")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/e448a22c-bada-448d-9167-7af71305130d@stanley.mountain/
Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2025-02-19 14:38:21 +01:00
..
onenand mtd: onenand: Fix uninitialized retlen in do_otp_read() 2024-12-05 11:11:00 +01:00
raw mtd: rawnand: cadence: fix unchecked dereference 2025-02-19 14:38:21 +01:00
spi mtd: spinand: skyhigh: Align with recent read from cache variant changes 2025-01-20 09:16:15 +01:00
bbt.c mtd: nand: bbt: Use the bitmap API to allocate bitmaps 2022-09-20 10:06:58 +02:00
core.c mtd: nand: drop EXPORT_SYMBOL_GPL for nanddev_erase() 2022-11-07 17:17:20 +01:00
ecc-mtk.c mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC 2023-02-03 19:09:44 +01:00
ecc-mxic.c SPI-NAND changes: 2024-11-21 17:04:19 +01:00
ecc-sw-bch.c mtd: spinand: Constify struct nand_ecc_engine_ops 2024-10-21 11:55:50 +02:00
ecc-sw-hamming.c mtd: spinand: Constify struct nand_ecc_engine_ops 2024-10-21 11:55:50 +02:00
ecc.c mtd: Explicitly include correct DT includes 2023-07-27 17:03:41 +02:00
Kconfig mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK 2022-05-12 16:43:04 +02:00
Makefile mtd: nand: Add qpic_common API file 2024-12-24 16:22:02 +01:00
qpic_common.c mtd: rawnand: qcom: Fix build issue on x86 architecture 2025-01-08 19:26:39 +01:00