android_kernel_xiaomi_sm8350/arch/powerpc/sysdev
Miaoqian Lin d99733ad47 powerpc/xive: Fix refcount leak in xive_get_max_prio
[ Upstream commit 255b650cbec6849443ce2e0cdd187fd5e61c218c ]

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: eac1e731b5 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:18:07 +02:00
..
ge
xics
xive powerpc/xive: Fix refcount leak in xive_get_max_prio 2022-08-25 11:18:07 +02:00
6xx-suspend.S
cpm2_pic.c
cpm2_pic.h
cpm2.c
cpm_common.c
cpm_gpio.c
dart_iommu.c powerpc/iommu: Add missing of_node_put in iommu_init_early_dart 2022-06-14 18:11:31 +02:00
dart.h
dcr-low.S
dcr.c
ehv_pic.c
fsl_85xx_cache_ctlr.h
fsl_85xx_cache_sram.c
fsl_85xx_l2ctlr.c
fsl_gtm.c
fsl_lbc.c
fsl_mpic_err.c
fsl_mpic_timer_wakeup.c
fsl_msi.c
fsl_msi.h
fsl_pci.c powerpc/fsl-pci: Fix Class Code of PCIe Root Port 2022-08-25 11:17:25 +02:00
fsl_pci.h powerpc/fsl-pci: Fix Class Code of PCIe Root Port 2022-08-25 11:17:25 +02:00
fsl_pmc.c
fsl_rcpm.c
fsl_rio.c powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup 2022-06-14 18:11:42 +02:00
fsl_rio.h
fsl_rmu.c
fsl_soc.c
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
Kconfig
Makefile
mmio_nvram.c
mpc5xxx_clocks.c
mpic_msgr.c
mpic_msi.c
mpic_timer.c
mpic_u3msi.c
mpic.c
mpic.h
msi_bitmap.c
of_rtc.c
pmi.c
rtc_cmos_setup.c
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c
udbg_memcons.c
xilinx_intc.c
xilinx_pci.c