* [zen:6.2/prjc 290/371] kernel/sched/smp.h:14:20: error: redefinition of 'flush_smp_call_function_queue'
@ 2023-03-12 7:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-12 7:05 UTC (permalink / raw)
To: steven; +Cc: oe-kbuild-all
tree: https://github.com/zen-kernel/zen-kernel 6.2/prjc
head: 66bb0e6d857d9b3bce5062779df9216e00986c6f
commit: 7b3d43238e0fd4a97c85581d819604e81ff0b585 [290/371] sched/alt: [Sync] 16bf5a5e1ec5 smp: Rename flush_smp_call_function_from_idle()
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20230312/202303121502.Ee62GQc5-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/zen-kernel/zen-kernel/commit/7b3d43238e0fd4a97c85581d819604e81ff0b585
git remote add zen https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen 6.2/prjc
git checkout 7b3d43238e0fd4a97c85581d819604e81ff0b585
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303121502.Ee62GQc5-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_policy.c:35:
>> kernel/sched/smp.h:14:20: error: redefinition of 'flush_smp_call_function_queue'
14 | static inline void flush_smp_call_function_queue(void) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/sched/sched.h:9,
from kernel/sched/build_policy.c:34:
kernel/sched/alt_sched.h:296:20: note: previous definition of 'flush_smp_call_function_queue' with type 'void(void)'
296 | static inline void flush_smp_call_function_queue(void) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/sched/build_policy.c:43:
kernel/sched/idle.c: In function 'cpu_idle_poll':
kernel/sched/idle.c:56:9: error: implicit declaration of function 'ct_idle_enter'; did you mean 'cpuidle_enter'? [-Werror=implicit-function-declaration]
56 | ct_idle_enter();
| ^~~~~~~~~~~~~
| cpuidle_enter
kernel/sched/idle.c:63:9: error: implicit declaration of function 'ct_idle_exit'; did you mean 'ct_irq_exit'? [-Werror=implicit-function-declaration]
63 | ct_idle_exit();
| ^~~~~~~~~~~~
| ct_irq_exit
cc1: some warnings being treated as errors
vim +/flush_smp_call_function_queue +14 kernel/sched/smp.h
d664e399128bd7 Thomas Gleixner 2022-04-13 10
d664e399128bd7 Thomas Gleixner 2022-04-13 11 #ifdef CONFIG_SMP
16bf5a5e1ec564 Thomas Gleixner 2022-04-13 12 extern void flush_smp_call_function_queue(void);
d664e399128bd7 Thomas Gleixner 2022-04-13 13 #else
16bf5a5e1ec564 Thomas Gleixner 2022-04-13 @14 static inline void flush_smp_call_function_queue(void) { }
:::::: The code at line 14 was first introduced by commit
:::::: 16bf5a5e1ec56474ed2a19d72f272ed09a5d3ea1 smp: Rename flush_smp_call_function_from_idle()
:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-12 7:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-12 7:05 [zen:6.2/prjc 290/371] kernel/sched/smp.h:14:20: error: redefinition of 'flush_smp_call_function_queue' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).