aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-05-11 15:42:03 +0400
committerWim Van Sebroeck <[email protected]>2022-05-21 10:09:31 +0200
commit5d24df3d690809952528e7a19a43d84bc5b99d44 (patch)
tree0672c4f295de6befc7377d3435334ec0fb2c39dc /tools/perf/util/scripting-engines
parent9215a90dd56e008999dbaa228c8eb2c7df98a418 (diff)
watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() in some error paths. Fixes: bf9006399939 ("watchdog: ts4800: add driver for TS-4800 watchdog") Signed-off-by: Miaoqian Lin <[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 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions