Re: [PATCH v2] powerpc/kexec: Fix build failure from uninitialised variable

2022-08-13 Thread Michael Ellerman
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

Re: [PATCH v2] powerpc/kexec: Fix build failure from uninitialised variable

2022-08-10 Thread Nathan Chancellor
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

[PATCH v2] powerpc/kexec: Fix build failure from uninitialised variable

2022-08-09 Thread Russell Currey
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