linux-stable/arch/powerpc
Nicholas Mc Guire 04b709854b powerpc/icp-hv: Fix missing of_node_put() in success path
[ Upstream commit d3e669f31e ]

Both of_find_compatible_node() and of_find_node_by_type() will return
a refcounted node on success - thus for the success path the node must
be explicitly released with a of_node_put().

Fixes: 0b05ac6e24 ("powerpc/xics: Rewrite XICS driver")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1530691407-3991-1-git-send-email-hofrat@osadl.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:07:08 +01:00
..
boot powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize 2020-02-14 16:32:17 -05:00
configs vgacon: remove software scrollback support 2020-09-23 10:46:31 +02:00
crypto crypto: hash - annotate algorithms taking optional key 2018-02-16 20:23:00 +01:00
include powerpc: Fix circular dependency between percpu.h and mmu.h 2020-08-21 09:48:17 +02:00
kernel powerpc/traps: Make unrecoverable NMIs die instead of panic 2020-10-01 13:12:44 +02:00
kvm KVM: PPC: Book3S PR: Free shared page if mmu initialization fails 2020-02-14 16:32:16 -05:00
lib powerpc/fsl: Add infrastructure to fixup branch predictor flush 2019-04-03 06:25:13 +02:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm powerpc: Allow 4224 bytes of stack expansion for the signal frame 2020-08-26 10:29:54 +02:00
net bpf: get rid of pure_initcall dependency to enable jits 2019-08-25 10:50:02 +02:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
perf powerpc/perf: Fix soft lockups due to missed interrupt accounting 2020-09-03 11:22:30 +02:00
platforms powerpc/pseries: Fix missing of_node_put() in rng_init() 2020-10-29 09:07:08 +01:00
purgatory License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sysdev powerpc/icp-hv: Fix missing of_node_put() in success path 2020-10-29 09:07:08 +01:00
tools powerpc/tools: Don't quote $objdump in scripts 2020-01-04 13:59:39 +01:00
xmon powerpc: Make setjmp/longjmp signature standard 2020-04-24 08:00:48 +02:00
Kconfig powerpc/64s: Disable STRICT_KERNEL_RWX 2020-05-27 16:43:08 +02:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile powerpc: vdso: Make vdso32 installation conditional in vdso_install 2020-01-27 14:46:30 +01:00
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00