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

From: Borislav Petkov
Date: Tue Aug 01 2023 - 10:05:24 EST


On Tue, Aug 01, 2023 at 08:44:41PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4
> commit: 522b1d69219d8f083173819fde04f994aa051a98 x86/cpu/amd: Add a Zenbleed fix
> date: 2 weeks ago
> config: x86_64-sof-customedconfig-edison-defconfig (https://download.01.org/0day-ci/archive/20230801/202308012053.HaahUjPR-lkp@xxxxxxxxx/config)
> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20230801/202308012053.HaahUjPR-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202308012053.HaahUjPR-lkp@xxxxxxxxx/
>
> All errors (new ones prefixed by >>):
>
> >> arch/x86/kernel/cpu/amd.c:1289:6: error: no previous prototype for 'amd_check_microcode' [-Werror=missing-prototypes]
> 1289 | void amd_check_microcode(void)
> | ^~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors

https://lore.kernel.org/r/20230725121751.2007665-1-arnd@xxxxxxxxxx

--
Regards/Gruss,
Boris.

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