OrangePi_CM5/drivers/mtd/devices
William Dean f87f720811 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
[ Upstream commit 26e784433e6c65735cd6d93a8db52531970d9a60 ]

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:25:34 +02:00
..
Kconfig mtd: spear_smi: Enable compile testing 2020-10-02 09:09:08 +02:00
Makefile
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:25:34 +02:00
docg3.h
lart.c mtd: Avoid comma separated statements 2020-08-27 14:16:31 +02:00
mchp23k256.c
ms02-nv.c
ms02-nv.h
mtd_dataflash.c
mtdram.c
phram.c
pmc551.c
powernv_flash.c
serial_flash_cmds.h
slram.c
spear_smi.c mtd: spear_smi: use for_each_child_of_node() macro 2020-09-15 10:14:36 +02:00
sst25l.c
st_spi_fsm.c mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path 2022-08-21 15:15:53 +02:00