[avpatel:riscv_kvm_aia_v1 22/40] WARNING: modpost: vmlinux.o(.text+0x3ac2): Section mismatch in reference from the function riscv_ipi_setup() to the function .init.text:sbi_ipi_init()
From: kernel test robot
Date: Mon Aug 09 2021 - 13:35:24 EST
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head: a3f9fe53dc6f4f0dd5ce37099f8c4937f5f734d6
commit: b558ac643cf43938bfd21643ec02336eb045ebae [22/40] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-buildonly-randconfig-r004-20210809 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c5c3cdb9c92895a63993cee70d2dd776ff9519c3)
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/avpatel/linux/commit/b558ac643cf43938bfd21643ec02336eb045ebae
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_v1
git checkout b558ac643cf43938bfd21643ec02336eb045ebae
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=riscv 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+0x3ac2): Section mismatch in reference from the function riscv_ipi_setup() to the function .init.text:sbi_ipi_init()
The function riscv_ipi_setup() references
the function __init sbi_ipi_init().
This is often because riscv_ipi_setup lacks a __init
annotation or the annotation of sbi_ipi_init 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