[atishp04:kvm_perf_rfc_buildtest 15/24] WARNING: modpost: vmlinux.o(.text+0xa708): Section mismatch in reference from the function early_memremap_prot() to the function .init.text:early_ioremap()

From: kernel test robot
Date: Sun Jul 17 2022 - 15:17:06 EST


tree: https://github.com/atishp04/linux kvm_perf_rfc_buildtest
head: ff2f56ec4ff4f67ae3da3936939b1dcf53099a6e
commit: 5faed77192c5455fe17fb4e6aea87e5bcc48a13d [15/24] COVER
config: loongarch-randconfig-c004-20220717 (https://download.01.org/0day-ci/archive/20220718/202207180359.UjMwipSN-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.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://github.com/atishp04/linux/commit/5faed77192c5455fe17fb4e6aea87e5bcc48a13d
git remote add atishp04 https://github.com/atishp04/linux
git fetch --no-tags atishp04 kvm_perf_rfc_buildtest
git checkout 5faed77192c5455fe17fb4e6aea87e5bcc48a13d
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

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

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

Note: the below error/warnings can be found in parent commit:
<< WARNING: modpost: vmlinux.o(.text.unlikely+0x15e40): Section mismatch in reference from the variable L0 to the function .init.text:early_ioremap()

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