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

From: kernel test robot
Date: Mon Jul 18 2022 - 23:01:05 EST


tree: https://github.com/atishp04/linux kvm_perf_rfc
head: f7c410879b9a723ff8fbc32e4acb668b7fee423a
commit: 20c5f15d297fb5a842bb1488be2781826b65a1dd [15/24] COVER
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20220719/202207191043.dhBIpLaO-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/20c5f15d297fb5a842bb1488be2781826b65a1dd
git remote add atishp04 https://github.com/atishp04/linux
git fetch --no-tags atishp04 kvm_perf_rfc
git checkout 20c5f15d297fb5a842bb1488be2781826b65a1dd
# 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+0xb924): Section mismatch in reference from the function early_memremap_ro() to the function .init.text:early_ioremap()
The function early_memremap_ro() references
the function __init early_ioremap().
This is often because early_memremap_ro lacks a __init
annotation or the annotation of early_ioremap is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x9abab0): Section mismatch in reference from the function __calc_tpm2_event_size() to the function .init.text:early_ioremap()
The function __calc_tpm2_event_size() references
the function __init early_ioremap().
This is often because __calc_tpm2_event_size lacks a __init
annotation or the annotation of early_ioremap is wrong.

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