linux-stable/drivers/mtd/devices
William Dean 0013377942 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
[ Upstream commit 26e784433e ]

The function devm_ioremap() in docg3_probe() can fail, so
its return value should be checked.

Fixes: 82402aeb8c ("mtd: docg3: Use devm_*() functions")
Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: William Dean <williamsukatube@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220722091644.2937953-1-williamsukatube@163.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:19:31 +02:00
..
bcm47xxsflash.c
bcm47xxsflash.h
block2mtd.c
docg3.c mtd: devices: docg3: check the return value of devm_ioremap() in the probe 2022-10-26 13:19:31 +02:00
docg3.h
Kconfig
lart.c
m25p80.c
Makefile
mchp23k256.c mtd: devices: fix mchp23k256 read and write 2020-01-23 08:21:37 +01:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c
mtdram.c
phram.c mtd: phram: fix a double free issue in error path 2020-04-23 10:30:24 +02:00
pmc551.c
powernv_flash.c
serial_flash_cmds.h
slram.c
spear_smi.c
sst25l.c
st_spi_fsm.c mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path 2022-08-25 11:15:14 +02:00