Hi Mathieu,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/x86/asm]
[also build test ERROR on tip/sched/core]
[cannot apply to linus/master linux/master v5.8-rc1 next-20200615]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Mathieu-Desnoyers/sched_pair_cpu...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
2ce0d7f9766f0e49bb54f149c77bae89464932fb
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
kernel/sched/core.c:2246:6: warning: no previous prototype for
'sched_set_stop_task' [-Wmissing-prototypes]
2246 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:6,
from include/linux/kernel.h:15,
from include/asm-generic/bug.h:19,
from arch/alpha/include/asm/bug.h:23,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from include/asm-generic/current.h:5,
from ./arch/alpha/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from kernel/sched/sched.h:5,
from kernel/sched/core.c:9:
> kernel/sched/core.c:8218:15: error: initialization of
'initcall_t' {aka 'int (*)(void)'} from incompatible pointer type
'void (*)(void)' [-Werror=incompatible-pointer-types]
8218 |
late_initcall(pair_cpu_spawn_workers);
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/init.h:197:50: note: in definition of macro '___define_initcall'
197 | __attribute__((__section__(#__sec ".init"))) = fn;
| ^~
include/linux/init.h:231:28: note: in expansion of macro '__define_initcall'
231 | #define late_initcall(fn) __define_initcall(fn, 7)
| ^~~~~~~~~~~~~~~~~
> kernel/sched/core.c:8218:1: note: in expansion of macro
'late_initcall'
8218 | late_initcall(pair_cpu_spawn_workers);
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> <stdin>:1520:2: warning: #warning syscall sched_pair_cpu
not implemented [-Wcpp]
--
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> <stdin>:1520:2: warning: #warning syscall sched_pair_cpu
not implemented [-Wcpp]
--
arch/alpha/kernel/asm-offsets.c:15:6: warning: no previous prototype for 'foo'
[-Wmissing-prototypes]
15 | void foo(void)
| ^~~
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp]
> <stdin>:1520:2: warning: #warning syscall sched_pair_cpu
not implemented [-Wcpp]
vim +8218 kernel/sched/core.c
8217
8218 late_initcall(pair_cpu_spawn_workers);
8219
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org