tree:
https://android.googlesource.com/kernel/common android12-5.10
head: 4190dbd6addfd97b9fa3d61a81aeeb63e6b7cc00
commit: 5f7ec0f4c3835feb590be18194e73cc78a3a449a [13/30] UPSTREAM: memblock: fix section
mismatch warning
config: x86_64-randconfig-r003-20210723 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
3f2c1e99e44d028d5e9dd685f3c568f2661f2f68)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 5f7ec0f4c3835feb590be18194e73cc78a3a449a
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64
SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
<< WARNING: modpost: vmlinux.o(.text+0x7e8697): Section mismatch in reference from
the function memblock_bottom_up() to the variable .meminit.data:memblock
> WARNING: modpost: vmlinux.o(.meminit.text+0x4793): Section
mismatch in reference from the function memblock_find_in_range_node() to the function
.init.text:memblock_bottom_up()
The function __meminit memblock_find_in_range_node()
references
a function __init memblock_bottom_up().
If memblock_bottom_up is only used by memblock_find_in_range_node then
annotate memblock_bottom_up with a matching annotation.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org