diff options
author | William Dean <williamsukatube@gmail.com> | 2022-07-22 11:16:44 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-09-19 18:14:38 +0200 |
commit | 26e784433e6c65735cd6d93a8db52531970d9a60 (patch) | |
tree | 5be93127f9cfb35ad9b46292a4c90b1b19fae50a /drivers/mtd/maps | |
parent | mtd: parsers: add Broadcom's U-Boot parser (diff) | |
download | linux-26e784433e6c65735cd6d93a8db52531970d9a60.tar.xz linux-26e784433e6c65735cd6d93a8db52531970d9a60.zip |
mtd: devices: docg3: check the return value of devm_ioremap() in the probe
The function devm_ioremap() in docg3_probe() can fail, so
its return value should be checked.
Fixes: 82402aeb8c81e ("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
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions