[linux-stable-rc:linux-5.10.y 2319/8454] WARNING: modpost: vmlinux.o(.text.unlikely+0x7434): Section mismatch in reference from the function trace_define_generic_fields() to the variable .init.data:initcall_level_names
From: kernel test robot
Date: Tue Sep 20 2022 - 00:39:06 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: 02c4837d98bf509b70afb8368175c489a5ba7b4a
commit: 092a58f0d9ef5013ad3c197a9a5ecf2d7f797a88 [2319/8454] tracing: Fix pid filtering when triggers are attached
config: xtensa-randconfig-r016-20220919 (https://download.01.org/0day-ci/archive/20220920/202209201214.BcI4RWh1-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 12.1.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/stable/linux-stable-rc.git/commit/?id=092a58f0d9ef5013ad3c197a9a5ecf2d7f797a88
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 092a58f0d9ef5013ad3c197a9a5ecf2d7f797a88
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
<< WARNING: modpost: vmlinux.o(.text.unlikely+0x722c): Section mismatch in reference from the function __list_add() to the variable .init.data:initcall_level_names
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x7434): Section mismatch in reference from the function trace_define_generic_fields() to the variable .init.data:initcall_level_names
The function trace_define_generic_fields() references
the variable __initdata initcall_level_names.
This is often because trace_define_generic_fields lacks a __initdata
annotation or the annotation of initcall_level_names is wrong.
--
0-DAY CI Kernel Test Service
https://01.org/lkp