linux/arch/powerpc/sysdev
Miaoqian Lin 1d1fb9618b 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: eac1e731b5 ("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
2022-05-22 15:58:30 +10:00
..
ge powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
xics powerpc/xics: fix refcount leak in icp_opal_init() 2022-05-22 15:58:30 +10:00
xive powerpc/xive: Fix refcount leak in xive_spapr_init 2022-05-22 15:58:30 +10:00
6xx-suspend.S
cpm2.c powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
cpm2_pic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
cpm2_pic.h
cpm_common.c
cpm_gpio.c
dart.h
dart_iommu.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
dcr-low.S powerpc/dcr: Use cmplwi instead of 3-argument cmpli 2021-10-28 22:29:25 +11:00
dcr.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
ehv_pic.c
fsl_gtm.c powerpc/sysdev: fix incorrect use to determine if list is empty 2022-03-08 00:04:56 +11:00
fsl_lbc.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
fsl_mpic_err.c powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
fsl_mpic_timer_wakeup.c
fsl_msi.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
fsl_msi.h
fsl_pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
fsl_pci.h powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
fsl_pmc.c
fsl_rcpm.c
fsl_rio.c powerpc: Refactor verification of MSR_RI 2021-08-26 21:21:07 +10:00
fsl_rio.h
fsl_rmu.c
fsl_soc.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
fsl_soc.h
grackle.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
i8259.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
indirect_pci.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
ipic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
ipic.h
Kconfig powerpc/4xx: Remove MSI support which never worked 2021-12-09 11:52:20 +01:00
Makefile powerpc/85xx: Remove FSL_85XX_CACHE_SRAM 2022-05-22 15:58:30 +10:00
mmio_nvram.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc5xxx_clocks.c
mpic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpic.h powerpc/pasemi: Add __init attribute to eligible functions 2021-12-23 22:33:14 +11:00
mpic_msgr.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpic_msi.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpic_timer.c powerpc: fix typos in comments 2022-05-05 22:12:44 +10:00
mpic_u3msi.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
msi_bitmap.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
of_rtc.c
pmi.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
rtc_cmos_setup.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
tsi108_dev.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
tsi108_pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
udbg_memcons.c powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00