linux-stable/arch/powerpc
Liang He c3af1e0595 powerpc/pci_dn: Add missing of_node_put()
[ Upstream commit 110a1fcb6c ]

In pci_add_device_node_info(), use of_node_put() to drop the reference
to 'parent' returned by of_get_parent() to keep refcount balance.

Fixes: cca87d303c ("powerpc/pci: Refactor pci_dn")
Co-authored-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Link: https://lore.kernel.org/r/20220701131750.240170-1-windhl@126.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-21 12:38:56 +02:00
..
boot powerpc/boot: Explicitly disable usage of SPE instructions 2022-10-21 12:37:45 +02:00
configs powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig 2022-10-21 12:38:55 +02:00
crypto powerpc: Fix all occurences of duplicate words 2022-07-25 12:05:15 +10:00
include Revert "powerpc/rtas: Implement reentrant rtas call" 2022-10-15 08:02:56 +02:00
kernel powerpc/pci_dn: Add missing of_node_put() 2022-10-21 12:38:56 +02:00
kexec powerpc/kexec: Fix build failure from uninitialised variable 2022-08-10 15:55:20 +10:00
kvm KVM: Rename mmu_notifier_* to mmu_invalidate_* 2022-08-19 04:05:41 -04:00
lib powerpc/ppc-opcode: Define and use PPC_RAW_SETB() 2022-07-27 21:36:05 +10:00
math-emu powerpc/math_emu/efp: Include module.h 2022-10-21 12:38:55 +02:00
mm powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush 2022-09-26 12:14:33 -07: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/pseries: Fix plpks crash on non-pseries 2022-09-08 10:45:57 +10:00
purgatory powerpc/purgatory: Omit use of bin2c 2022-07-27 21:36:03 +10:00
sysdev powerpc/sysdev/fsl_msi: Add missing of_node_put() 2022-10-21 12:38:56 +02: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/Kconfig: Fix non existing CONFIG_PPC_FSL_BOOKE 2022-10-21 12:37:45 +02: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