[morse:mpam/snapshot/v5.17 60/137] WARNING: modpost: vmlinux.o(.text+0x1e0027): Section mismatch in reference from the function resctrl_init() to the function .init.text:thread_throttle_mode_init()

From: kernel test robot
Date: Sat Apr 09 2022 - 01:33:07 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.17
head: fb7499c2de17b6b98e0e3ac5b7b023bfc5a6f3a4
commit: 0c3df0028a436752977109f708781e42e5dad5d1 [60/137] x86/resctrl: Drop __init/__exit on assorted symbols
config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220409/202204091306.bwxNJVQN-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c29a51b3a257908aebc01cd7c4655665db317d66)
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/morse/linux.git/commit/?id=0c3df0028a436752977109f708781e42e5dad5d1
git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
git fetch --no-tags morse mpam/snapshot/v5.17
git checkout 0c3df0028a436752977109f708781e42e5dad5d1
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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@xxxxxxxxx>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.text+0x1e0027): Section mismatch in reference from the function resctrl_init() to the function .init.text:thread_throttle_mode_init()
The function resctrl_init() references
the function __init thread_throttle_mode_init().
This is often because resctrl_init lacks a __init
annotation or the annotation of thread_throttle_mode_init is wrong.

--
0-DAY CI Kernel Test Service
https://01.org/lkp