summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-12 15:37:18 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-22 08:58:31 +0300
commitfcee96924ba1596ca80a6770b2567ca546f9a482 (patch)
tree923f087e9dbddba27329697a22766a40ffd4c032 /scripts/gdb/linux/utils.py
parent1d1fb9618bdd5a5fbf9a9eb75133da301d33721c (diff)
downloadlinux-fcee96924ba1596ca80a6770b2567ca546f9a482.tar.xz
powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: abc3aeae3aaa ("fsl-rio: Add two ports and rapidio message units support") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220512123724.62931-1-linmq006@gmail.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions