summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-08-27 04:46:59 +0000
committerGuenter Roeck <linux@roeck-us.net>2026-08-30 14:41:21 -0700
commite3eceb76515910746e6268c4e4ac1c07516ebd7b (patch)
tree15d2476f11b2de40581ff22963f1942c5f86c9a6 /scripts/basic/split-include.c
parentaab55360fa11a2c054798a484ac67ad606f563e4 (diff)
downloadlinux-e3eceb76515910746e6268c4e4ac1c07516ebd7b.tar.gz
linux-e3eceb76515910746e6268c4e4ac1c07516ebd7b.zip
watchdog: msc313e: Fix NULL pointer dereference in PM callbacks
msc313e_wdt_probe() doesn't set the driver data for the platform device. As a result, dev_get_drvdata() in msc313e_wdt_suspend() and msc313e_wdt_resume() will return NULL, leading to a NULL pointer dereference afterward. Set the platform device driver data in msc313e_wdt_probe(). Fixes: e9800b799464 ("watchdog: Add Mstar MSC313e WDT driver") Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260827044700.554333-2-tzungbi@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions