[linux-stable-rc:linux-5.10.y 2319/9135] WARNING: modpost: vmlinux.o(.text.unlikely+0x57cc): 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 Oct 25 2022 - 12:27:30 EST
Hi Steven,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: b4f4370de958b2655d6a93d4fc386eed8fe36cd6
commit: 092a58f0d9ef5013ad3c197a9a5ecf2d7f797a88 [2319/9135] tracing: Fix pid filtering when triggers are attached
config: xtensa-randconfig-r031-20221025 (attached as .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+0x55f4): Section mismatch in reference from the function __trace_event_discard_commit() to the variable .init.data:initcall_level_names
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x57cc): 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
Attachment:
.config.gz
Description: application/gzip