linux/arch/powerpc/platforms/cell
Miaoqian Lin df5d4b616e powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
of_get_next_parent() returns a node pointer with refcount incremented,
we should use of_node_put() on it when not need anymore.
Add missing of_node_put() in the error path to avoid refcount leak.

Fixes: ce21b3c964 ("[CELL] add support for MSI on Axon-based Cell systems")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220605065129.63906-1-linmq006@gmail.com
2022-08-01 22:21:18 +10:00
..
spufs powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader 2022-08-01 22:21:18 +10:00
axon_msi.c powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address 2022-08-01 22:21:18 +10:00
cbe_powerbutton.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
cbe_regs.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
cbe_thermal.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
cell.h
cpufreq_spudemand.c cpufreq: Register governors at core_initcall 2020-07-02 13:03:30 +02:00
interrupt.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
interrupt.h
iommu.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
Makefile arch: powerpc: Stop building and using oprofile 2021-01-29 10:05:51 +05:30
pervasive.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
pervasive.h powerpc/cell: tidy up pervasive declarations 2021-02-09 00:02:11 +11:00
pmu.c powerpc: Add missing linux/{of.h,irqdomain.h} include directives 2021-06-10 13:09:16 +01:00
ras.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
ras.h powerpc: convert interrupt handlers to use wrappers 2021-02-09 00:02:12 +11:00
setup.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
smp.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
spider-pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
spider-pic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
spu_base.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
spu_callbacks.c powerpc/syscalls: switch to generic syscalltbl.sh 2021-04-14 23:04:16 +10:00
spu_manage.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
spu_priv1_mmio.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
spu_priv1_mmio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
spu_syscalls.c