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

From: kernel test robot
Date: Tue Aug 01 2023 - 08:44:59 EST


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


vim +/amd_check_microcode +1289 arch/x86/kernel/cpu/amd.c

1288
> 1289 void amd_check_microcode(void)

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki