WARNING: modpost: vmlinux.o(.text.unlikely+0xa5c): Section mismatch in reference from the function top_trace_array() to the variable .init.data:initcall_level_names
From: kernel test robot
Date: Fri May 21 2021 - 04:35:11 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ba816d3c265cfe9ed0ee8347eab63cf5ac3cf5dc
commit: 997acaf6b4b59c6a9c259740312a69ea549cc684 lockdep: report broken irq restoration
date: 4 months ago
config: xtensa-randconfig-r023-20210521 (attached as .config)
compiler: xtensa-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=997acaf6b4b59c6a9c259740312a69ea549cc684
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 997acaf6b4b59c6a9c259740312a69ea549cc684
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux.o(.text.unlikely+0xa5c): Section mismatch in reference from the function top_trace_array() to the variable .init.data:initcall_level_names
The function top_trace_array() references
the variable __initdata initcall_level_names.
This is often because top_trace_array lacks a __initdata
annotation or the annotation of initcall_level_names is wrong.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip