WARNING: modpost: vmlinux.o(.text.unlikely+0x3d44): Section mismatch in reference from the function sg_page.isra.0.part.0() to the variable .init.data:initcall_level_names
From: kernel test robot
Date: Tue Jul 06 2021 - 07:54:33 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 79160a603bdb51916226caf4a6616cc4e1c58a58
commit: 21b56c84775351ac66354c9b09fb429e5cdeceac iov_iter: get rid of separate bvec and xarray callbacks
date: 4 weeks ago
config: xtensa-randconfig-r036-20210706 (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=21b56c84775351ac66354c9b09fb429e5cdeceac
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 21b56c84775351ac66354c9b09fb429e5cdeceac
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash
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+0x3dbc): Section mismatch in reference from the function memcpy_from_page.part.0() to the variable .init.data:initcall_level_names
>> WARNING: modpost: vmlinux.o(.text.unlikely+0x3d44): Section mismatch in reference from the function sg_page.isra.0.part.0() to the variable .init.data:initcall_level_names
The function sg_page.isra.0.part.0() references
the variable __initdata initcall_level_names.
This is often because sg_page.isra.0.part.0 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