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

Borislav Petkov
2023-08-29T04:48:50Z

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:

$ 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.