linux/arch/powerpc
Russell Currey ee57f8bba8 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>
History 2022-08-17 15:16:21 +02:00
..
boot powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
configs powerpc: Restore CONFIG_DEBUG_INFO in defconfigs 2022-08-17 15:13:56 +02:00
crypto powerpc: fix typos in comments 2022-05-05 22:12:44 +10:00
include powerpc: Fix eh field when calling lwarx on PPC32 2022-08-17 15:16:18 +02:00
kernel powerpc64/ftrace: Fix ftrace for clang builds 2022-08-17 15:16:18 +02:00
kexec powerpc/kexec: Fix build failure from uninitialised variable 2022-08-17 15:16:21 +02:00
kvm powerpc/powernv/kvm: Use darn for H_RANDOM on Power9 2022-08-17 15:16:13 +02:00
lib powerpc updates for 5.19 2022-05-28 11:27:17 -07: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/32s: Fix boot failure with KASAN + SMP + JUMP_LABEL_FEATURE_CHECK_DEBUG 2022-08-17 15:15:58 +02:00
net powerpc/inst: Remove PPC_INST_BL 2022-05-22 15:58:27 +10:00
perf powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable 2022-08-17 15:15:47 +02:00
platforms powerpc/powernv/kvm: Use darn for H_RANDOM on Power9 2022-08-17 15:16:13 +02:00
purgatory powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S 2021-04-08 21:17:43 +10:00
sysdev powerpc/xive: Fix refcount leak in xive_get_max_prio 2022-08-17 15:16:00 +02:00
tools powerpc/64: Add UADDR64 relocation support 2022-03-09 21:47:53 +11:00
xmon More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig powerpc fixes for 5.19 #6 2022-07-29 09:57:07 -07:00
Kconfig.debug powerpc: Book3S 64-bit outline-only KASAN support 2022-05-22 15:58:29 +10:00
Makefile powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
Makefile.postlink powerpc: unrel_branch_check.sh: use nm to find symbol value 2020-09-02 11:00:22 +10:00