Re: [PATCH] x86/microcode: make stub function static inline

From: Borislav Petkov
Date: Thu Dec 12 2019 - 05:49:11 EST


On Thu, Dec 12, 2019 at 11:06:09AM +0100, Luc Van Oostenryck wrote:
> The Sparse warning about reload_ucode_amd() is only present if your
> config has CONFIG_MICROCODE_AMD not set.

Ha, of course. Otherwise it doesn't see the

void reload_ucode_amd(void) {}

declaration.

Thanks for pointing this out.

--
Regards/Gruss,
Boris.

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