diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-05 08:32:23 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-08-01 15:21:18 +0300 |
commit | 255b650cbec6849443ce2e0cdd187fd5e61c218c (patch) | |
tree | ba97433aaa0ed5700b1c71b58b4cdc06eb1d9d56 /tools/perf/scripts/python | |
parent | 6ac059dacffa8ab2f7798f20e4bd3333890c541c (diff) | |
download | linux-255b650cbec6849443ce2e0cdd187fd5e61c218c.tar.xz |
powerpc/xive: Fix refcount leak in xive_get_max_prio
of_find_node_by_path() returns a node pointer with
refcount incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.
Fixes: eac1e731b59e ("powerpc/xive: guest exploitation of the XIVE interrupt controller")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220605053225.56125-1-linmq006@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions