Re: [PATCH] x86/microcode: Add microcode_loader_disabled() storage class for the !CONFIG_MICROCODE case

From: Borislav Petkov
Date: Mon May 05 2025 - 03:47:32 EST


On Mon, May 05, 2025 at 07:15:00AM +0200, Ingo Molnar wrote:
>
> Fix this build bug:
>
> ./arch/x86/include/asm/microcode.h:27:13: warning: no previous prototype for ‘microcode_loader_disabled’ [-Wmissing-prototypes]
>
> by adding the 'static' storage class to the !CONFIG_MICROCODE
> prototype.

Thanks, I'll merge it with my patch.

> Also, while at it, add all the other storage classes as well for this
> block of prototypes, 'extern' and 'static', respectively.

This I won't add as it is unnecessary.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette