aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/fsl_rio.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-12 13:05:33 +0400
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-22 15:58:30 +1000
commit1d1fb9618bdd5a5fbf9a9eb75133da301d33721c (patch)
tree4ae8b54c583f698031c879c9df18fe4ff0b437bb /arch/powerpc/sysdev/fsl_rio.c
parentpowerpc/numa: Associate numa node to its cpu earlier (diff)
downloadlinux-dev-1d1fb9618bdd5a5fbf9a9eb75133da301d33721c.tar.xz
linux-dev-1d1fb9618bdd5a5fbf9a9eb75133da301d33721c.zip
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 'arch/powerpc/sysdev/fsl_rio.c')
0 files changed, 0 insertions, 0 deletions