Re: [PATCH] tipc: avoid a clang -Wuninitialized warning
From: David Miller
Date: Sat Mar 23 2019 - 21:49:16 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
Date: Fri, 22 Mar 2019 15:18:13 +0100
> clang notices that we pass 'maddr' into the tipc_bearer_xmit() function
> without having initialized it first:
...
> This is harmless because it won't use 'maddr' if the
> queue is empty, but it's better to make that explicit
> and not even call the function in that case.
>
> As clang is able to inline the check, it then notices that
> the code is safe.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
It looks like Jon's patch took care of this.