linux/arch/powerpc
Miaoqian Lin 255b650cbe powerpc/xive: Fix refcount leak in xive_get_max_prio
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
2022-08-01 22:21:18 +10:00
..
boot powerpc/85xx: P2020: Add law_trgt_if property to PCIe DT nodes 2022-07-28 16:22:14 +10:00
configs powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-06-29 16:58:49 +10:00
crypto powerpc: Fix all occurences of duplicate words 2022-07-25 12:05:15 +10:00
include Merge branch 'topic/ppc-kvm' into next 2022-08-01 22:20:46 +10:00
kernel powerpc: add support for syscall stack randomization 2022-07-28 16:22:15 +10:00
kexec pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window 2022-07-28 16:22:13 +10:00
kvm Merge branch 'topic/ppc-kvm' into next 2022-08-01 22:20:46 +10:00
lib powerpc/ppc-opcode: Define and use PPC_RAW_SETB() 2022-07-27 21:36:05 +10:00
math-emu powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
mm powerpc/44x: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') 2022-07-27 21:36:06 +10:00
net powerpc/bpf/32: Add instructions for atomic_[cmp]xchg 2022-06-29 19:37:08 +10:00
perf powerpc/perf: Include caps feature for power10 DD1 version 2022-08-01 22:21:18 +10:00
platforms powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader 2022-08-01 22:21:18 +10:00
purgatory powerpc/purgatory: Omit use of bin2c 2022-07-27 21:36:03 +10:00
sysdev powerpc/xive: Fix refcount leak in xive_get_max_prio 2022-08-01 22:21:18 +10:00
tools powerpc/64: Add UADDR64 relocation support 2022-03-09 21:47:53 +11:00
xmon powerpc/ppc-opcode: Define and use PPC_RAW_TRAP() and PPC_RAW_TW() 2022-07-27 21:36:05 +10:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig powerpc: add support for syscall stack randomization 2022-07-28 16:22:15 +10:00
Kconfig.debug powerpc: Kconfig.debug: Remove extra empty line 2022-06-29 19:43:16 +10:00
Makefile powerpc/64e: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') 2022-07-27 21:36:06 +10:00
Makefile.postlink