Hi Anshuman,

On Wed, Jun 25, 2025 at 03:01:38AM +0100, Anshuman Khandual wrote:
> Arguments passed into WEXITSTATUS() should have been initialized earlier.
> Otherwise following warning show up while building platform selftests on
> arm64. Hence just zero out all the relevant local variables to avoid the
> build warning.
> 
> Warning: ‘status’ may be used uninitialized in this function 
> [-Wmaybe-uninitialized]

Can you give the following patch a try instead?

https://lore.kernel.org/lkml/20250707-nolibc-waitpid-uninitialized-v1-1-dcd4e70bc...@linutronix.de/


Thomas

Reply via email to