diff options
| author | Liang He <[email protected]> | 2022-06-18 15:13:53 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-09-05 17:28:26 +1000 |
| commit | 0dd8d2c8066e672244975c171816fdd9dae87721 (patch) | |
| tree | 742c3a664a24d84b0c5afbb639f0fbcc898a4b13 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6b2d17d514b105ecf486bdf011c444978e633085 (diff) | |
powerpc/perf: Add missing of_node_put()s in imc-pmu.c
In update_events_in_group(), of_find_node_by_phandle() will return
a node pointer with refcount incremented. The reference should be
dropped with of_node_put() in the failure path or when it is not used
anymore.
Signed-off-by: Liang He <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Reviewed-by: Athira Rajeev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions