diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-05-12 12:05:33 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-22 08:58:30 +0300 |
commit | 1d1fb9618bdd5a5fbf9a9eb75133da301d33721c (patch) | |
tree | 4ae8b54c583f698031c879c9df18fe4ff0b437bb /scripts/gdb/linux/utils.py | |
parent | 48b63961c84671df4c4a4451c40057e34b26df1a (diff) | |
download | linux-1d1fb9618bdd5a5fbf9a9eb75133da301d33721c.tar.xz |
powerpc/xive: Fix refcount leak in xive_spapr_init
of_find_compatible_node() 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>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220512090535.33397-1-linmq006@gmail.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions