linux-stable/arch/powerpc
Russell Currey 064a3f0433 powerpc/kexec: Fix build failure from uninitialised variable
commit 83ee9f2376 upstream.

clang 14 won't build because ret is uninitialised and can be returned if
both prop and fdtprop are NULL.  Drop the ret variable and return an
error in that failure case.

Fixes: b1fc44eaa9 ("pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window")
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220810054331.373761-1-ruscur@russell.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 14:42:35 +02:00
..
boot powerpc: fix typos in comments 2022-08-17 14:42:11 +02:00
configs powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-08-17 14:40:17 +02:00
crypto powerpc: fix typos in comments 2022-08-17 14:42:11 +02:00
include powerpc: Fix eh field when calling lwarx on PPC32 2022-08-17 14:42:33 +02:00
kernel powerpc/pci: Fix PHB numbering when using opal-phbid 2022-08-17 14:42:14 +02:00
kexec powerpc/kexec: Fix build failure from uninitialised variable 2022-08-17 14:42:35 +02:00
kvm powerpc/powernv/kvm: Use darn for H_RANDOM on Power9 2022-08-17 14:42:28 +02:00
lib powerpc updates for 5.18 2022-03-25 09:39:36 -07:00
math-emu
mm powerpc: fix typos in comments 2022-08-17 14:42:11 +02:00
net powerpc updates for 5.18 2022-03-25 09:39:36 -07:00
perf powerpc: fix typos in comments 2022-08-17 14:42:11 +02:00
platforms powerpc/powernv/kvm: Use darn for H_RANDOM on Power9 2022-08-17 14:42:28 +02:00
purgatory
sysdev powerpc/xive: Fix refcount leak in xive_get_max_prio 2022-08-17 14:42:14 +02:00
tools powerpc/64: Add UADDR64 relocation support 2022-03-09 21:47:53 +11:00
xmon powerpc: fix typos in comments 2022-08-17 14:42:11 +02:00
Kbuild
Kconfig powerpc/memhotplug: Add add_pages override for PPC 2022-07-07 17:54:55 +02:00
Kconfig.debug
Makefile Merge branch 'topic/func-desc-lkdtm' into next 2022-03-07 23:34:32 +11:00
Makefile.postlink