Re: [tip:x86/microcode 1/1] arch/x86/kernel/cpu/microcode/amd.c:714:6: warning: variable 'equiv_id' is used uninitialized whenever 'if' condition is false

From: Nathan Chancellor
Date: Mon Jul 29 2024 - 21:43:39 EST


On Mon, Jul 29, 2024 at 06:50:36PM +0200, Borislav Petkov wrote:
> On Mon, Jul 29, 2024 at 08:30:08AM -0700, Nathan Chancellor wrote:
> > It's not behind W=1, this happens in a normal build:
>
> "reproduce (this is a W=1 build):"
>
> I guess that mail formulation is misleading.

Yeah, I can definitely see how that can be misleading. It might be nice
if the robot could do a regular and a W=1 build at the same time to
report which warnings show up at which levels. For the record/future,
-Wsometimes-uninitialized and -Wuninitialized from clang should always
appear in a normal build; if they don't, that's a bug.

> Ok, lemme fix that then.

Thanks a lot :)

Cheers,
Nathan