[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202308150231.ThoHOoid-lkp@intel.com>
Date: Tue, 15 Aug 2023 02:51:42 +0800
From: kernel test robot <lkp@...el.com>
To: "Borislav Petkov (AMD)" <bp@...en8.de>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: [tip:master 20/20] arch/x86/include/asm/microcode.h:29:20: error:
redefinition of 'amd_check_microcode'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master
head: d2915b8e76b3a598febd7348799d745cb741a2f5
commit: d2915b8e76b3a598febd7348799d745cb741a2f5 [20/20] Merge x86/microcode into tip/master
config: i386-debian-10.3 (https://download.01.org/0day-ci/archive/20230815/202308150231.ThoHOoid-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230815/202308150231.ThoHOoid-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308150231.ThoHOoid-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/smpboot.c:80:
>> arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode'
29 | static inline void amd_check_microcode(void) {}
| ^~~~~~~~~~~~~~~~~~~
In file included from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:60,
from arch/x86/include/asm/preempt.h:9,
from include/linux/preempt.h:79,
from include/linux/smp.h:110,
from arch/x86/kernel/smpboot.c:43:
arch/x86/include/asm/processor.h:694:20: note: previous definition of 'amd_check_microcode' with type 'void(void)'
694 | static inline void amd_check_microcode(void) { }
| ^~~~~~~~~~~~~~~~~~~
vim +/amd_check_microcode +29 arch/x86/include/asm/microcode.h
25
26 #ifdef CONFIG_CPU_SUP_AMD
27 extern void amd_check_microcode(void);
28 #else
> 29 static inline void amd_check_microcode(void) {}
30 #endif
31
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists