diff options
| author | Joe Hattori <[email protected]> | 2025-01-05 11:17:18 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2025-01-06 18:38:07 +0000 |
| commit | 143981aa63f33d469a55a55fd9fb81cd90109672 (patch) | |
| tree | b19f7a11132b74616be448091d77f0095c760adb /scripts/generate_rust_target.rs | |
| parent | watchdog: max77620: fix excess field in kerneldoc (diff) | |
| download | kernel-143981aa63f33d469a55a55fd9fb81cd90109672.tar.gz kernel-143981aa63f33d469a55a55fd9fb81cd90109672.zip | |
watchdog: rti_wdt: Fix an OF node leak in rti_wdt_probe()
rti_wdt_probe() does not release the OF node reference obtained by
of_parse_phandle(). Add a of_node_put() call.
This was found by an experimental verification tool that I am
developing. Due to the lack of the actual device, no runtime test was
able to be performed.
Fixes: f20ca595ae23 ("watchdog:rit_wdt: Add support for WDIOF_CARDRESET")
Signed-off-by: Joe Hattori <[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 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
