aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorHenry Martin <[email protected]>2025-04-24 07:16:48 +0000
committerWim Van Sebroeck <[email protected]>2025-06-01 11:16:07 +0000
commita4e2401438a26131ecff9be6a3a1d4cbfea66f9a (patch)
tree7eba7d1abf30f5e428b343d651e962afaa3dac05 /rust/helpers
parentwatchdog: s3c2410_wdt: Add exynos990-wdt compatible data (diff)
downloadkernel-a4e2401438a26131ecff9be6a3a1d4cbfea66f9a.tar.gz
kernel-a4e2401438a26131ecff9be6a3a1d4cbfea66f9a.zip
watchdog: lenovo_se30_wdt: Fix possible devm_ioremap() NULL pointer dereference in lenovo_se30_wdt_probe()
devm_ioremap() returns NULL on error. Currently, lenovo_se30_wdt_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_ioremap() to prevent this issue. Fixes: c284153a2c55 ("watchdog: lenovo_se30_wdt: Watchdog driver for Lenovo SE30 platform") Signed-off-by: Henry Martin <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions