On Wed, 10 Aug 2022 15:43:31 +1000, Russell Currey wrote:
> 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.
>
>
Applied to powerpc/fixes.
[1/1] powerpc/kexec: Fix build
On Wed, Aug 10, 2022 at 03:43:31PM +1000, Russell Currey wrote:
> 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: b1fc44eaa9ba ("pseries/iommu/ddw: Fix kdump to
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: b1fc44eaa9ba ("pseries/iommu/ddw: Fix kdump to work in absence of
ibm,dma-window")
Suggested-by: Christophe Leroy
Signe