tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git memblock/for-next
head: 31c6f50e037d3cbef51ed1a7d8981ee45b87e51f
commit: 31c6f50e037d3cbef51ed1a7d8981ee45b87e51f [2/2] mm: memblock: drop __init from
memblock functions to make it inline
config: csky-randconfig-r014-20201116 (attached as .config)
compiler: csky-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/rppt/linux.git/commit/?id...
git remote add rppt
https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
git fetch --no-tags rppt memblock/for-next
git checkout 31c6f50e037d3cbef51ed1a7d8981ee45b87e51f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky
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.unlikely+0xbde): Section
mismatch in reference from the function memblock_alloc() to the function
.init.text:memblock_alloc_try_nid()
The function memblock_alloc() references
the function __init memblock_alloc_try_nid().
This is often because memblock_alloc lacks a __init
annotation or the annotation of memblock_alloc_try_nid is wrong.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org