diff options
author | William Dean | 2022-07-22 11:09:38 +0800 |
---|---|---|
committer | Wim Van Sebroeck | 2022-07-23 14:26:42 +0200 |
commit | 2d27e52841092e5831dd41f313028c668d816eb0 (patch) | |
tree | 558c67ae333aea9d18ff4cf447f438a963c4b453 /drivers/w1 | |
parent | 30ebc985d1add0222ca37acb6fbf54b0ee79e9b1 (diff) |
watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
The function devm_ioremap() in armada_37xx_wdt_probe() can fail, so
its return value should be checked.
Fixes: 54e3d9b518c8a ("watchdog: Add support for Armada 37xx CPU watchdog")
Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: William Dean <williamsukatube@gmail.com>
Reviewed-by: Marek Beh=C3=BAn <kabel@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220722030938.2925156-1-williamsukatube@163.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions