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

Michael Ellerman patch-notifications at ellerman.id.au
Sun Aug 14 08:38:14 AEST 2022


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 failure from uninitialised variable
      https://git.kernel.org/powerpc/c/83ee9f23763a432a4077bf20624ee35de87bce99

cheers


More information about the Linuxppc-dev mailing list