WSL2-Linux-Kernel/drivers/mtd/devices
William Dean 88263152ff 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 12:35:09 +02:00
..
Kconfig
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 12:35:09 +02:00
docg3.h
lart.c
mchp23k256.c mtd: mchp23k256: Add SPI ID table 2022-04-08 14:23:29 +02:00
mchp48l640.c mtd: mchp48l640: Add SPI ID table 2022-04-08 14:23:29 +02:00
ms02-nv.c
ms02-nv.h
mtd_dataflash.c mtd: dataflash: Add SPI ID table 2022-08-17 14:23:45 +02:00
mtdram.c
phram.c
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-17 14:23:41 +02:00