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

From
Michael Ellerman <hidden>
Date
2022-08-13 22:40:06
Reply to
Russell Currey, 2022-08-10
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
Thread (3 messages) 3 messages, 3 authors, last reply 2022-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help