tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
memblock/iterators-cleanup/v3
head: f0d593460d044672ca2ea065efc283e30dd23ef1
commit: 0aceec0b635f55f8968ec5e42fe4e66b6a55e71d [16/17] memblock: implement
for_each_reserved_mem_region() using __next_mem_region()
config: mips-ar7_defconfig (attached as .config)
compiler: mipsel-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
git checkout 0aceec0b635f55f8968ec5e42fe4e66b6a55e71d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
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+0xe10a4): Section mismatch in
reference from the function should_skip_region() to the variable .meminit.data:memblock
The function should_skip_region() references
the variable __meminitdata memblock.
This is often because should_skip_region lacks a __meminitdata
annotation or the annotation of memblock is wrong.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org