Re: arch/x86/kernel/cpu/amd.c:1289:6: warning: no previous prototype for function 'amd_check_microcode'

From: Philip Li
Date: Tue Aug 29 2023 - 01:33:48 EST


On Tue, Aug 29, 2023 at 06:47:45AM +0200, Borislav Petkov wrote:
> On Tue, Aug 29, 2023 at 12:07:59PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 1c59d383390f970b891b503b7f79b63a02db2ec5
>
> It doesn't trigger here:

Sorry Boris for this invalid report to cost your time. We will fix the code
issue asap to understand why this one is sent out when head is good.

>
> $ git describe
> v6.5-1207-g1c59d383390f
>
> $ make ARCH=i386 CC=clang-16 HOSTCC=clang-16 allnoconfig
>
> $ make W=1 ARCH=i386 CC=clang-16 HOSTCC=clang-16 arch/x86/kernel/cpu/
>
> ...
> CC arch/x86/kernel/cpu/intel_pconfig.o
> CC arch/x86/kernel/cpu/tsx.o
> CC arch/x86/kernel/cpu/amd.o
> CC arch/x86/kernel/cpu/hygon.o
> CC arch/x86/kernel/cpu/centaur.o
> ...
>
> > commit: 522b1d69219d8f083173819fde04f994aa051a98 x86/cpu/amd: Add a Zenbleed fix
> > date: 6 weeks ago
>
> Likely an old report.
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette
>