[rostedt-trace:ftrace/core 42/69] WARNING: modpost: vmlinux.o(.text.unlikely+0x34f8): Section mismatch in reference from the function sg_pool_index.part.0() to the function .init.text:memblock_alloc_try_nid()

From: kernel test robot
Date: Sun Oct 24 2021 - 07:24:19 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/core
head: fed240d9c9743815fcbc0ca5c0913292ce1f25e2
commit: 4ee1b4cac236650979a5d9b745bb0a83efde3a46 [42/69] bootconfig: Cleanup dummy headers in tools/bootconfig
config: xtensa-randconfig-r021-20211019 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.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/rostedt/linux-trace.git/commit/?id=4ee1b4cac236650979a5d9b745bb0a83efde3a46
git remote add rostedt-trace https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
git fetch --no-tags rostedt-trace ftrace/core
git checkout 4ee1b4cac236650979a5d9b745bb0a83efde3a46
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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+0x34f8): Section mismatch in reference from the function sg_pool_index.part.0() to the function .init.text:memblock_alloc_try_nid()
The function sg_pool_index.part.0() references
the function __init memblock_alloc_try_nid().
This is often because sg_pool_index.part.0 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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip