* [tip:master 20/20] arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode'
@ 2023-08-14 18:51 kernel test robot
2023-08-14 19:54 ` Borislav Petkov
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2023-08-14 18:51 UTC (permalink / raw)
To: Borislav Petkov (AMD); +Cc: oe-kbuild-all, linux-kernel, x86
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@intel.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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [tip:master 20/20] arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode'
2023-08-14 18:51 [tip:master 20/20] arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode' kernel test robot
@ 2023-08-14 19:54 ` Borislav Petkov
0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2023-08-14 19:54 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all, linux-kernel, x86
On Tue, Aug 15, 2023 at 02:51:42AM +0800, kernel test robot wrote:
> 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@intel.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) {}
Thanks for reporting. That was a mismerge on my part, sorry about that.
Fixed now.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-14 19:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 18:51 [tip:master 20/20] arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode' kernel test robot
2023-08-14 19:54 ` Borislav Petkov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.