WARNING: modpost: vmlinux.o(.text+0x1778608): Section mismatch in reference from the function binderfs_binder_device_create() to the function .init.text:set_reset_devices()
From: kernel test robot
Date: Fri Apr 15 2022 - 17:42:34 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 028192fea1de083f4f12bfb1eb7c4d7beb5c8ecd
commit: f9b3cd24578401e7a392974b3353277286e49cee Kconfig.debug: make DEBUG_INFO selectable from a choice
date: 3 weeks ago
config: riscv-randconfig-r004-20220408 (https://download.01.org/0day-ci/archive/20220416/202204160549.K8MMhRsg-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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9b3cd24578401e7a392974b3353277286e49cee
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f9b3cd24578401e7a392974b3353277286e49cee
# 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=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+0x1778608): Section mismatch in reference from the function binderfs_binder_device_create() to the function .init.text:set_reset_devices()
The function binderfs_binder_device_create() references
the function __init set_reset_devices().
This is often because binderfs_binder_device_create lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x178fa2e): Section mismatch in reference from the function binder_alloc_free_page() to the function .init.text:set_reset_devices()
The function binder_alloc_free_page() references
the function __init set_reset_devices().
This is often because binder_alloc_free_page lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1875f90): Section mismatch in reference from the function ethnl_default_dumpit() to the function .init.text:set_reset_devices()
The function ethnl_default_dumpit() references
the function __init set_reset_devices().
This is often because ethnl_default_dumpit lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x187ed7e): Section mismatch in reference from the function tsinfo_reply_size() to the function .init.text:set_reset_devices()
The function tsinfo_reply_size() references
the function __init set_reset_devices().
This is often because tsinfo_reply_size lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x191d390): Section mismatch in reference from the function ieee802154_llsec_fill_key_id() to the function .init.text:set_reset_devices()
The function ieee802154_llsec_fill_key_id() references
the function __init set_reset_devices().
This is often because ieee802154_llsec_fill_key_id lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x8844c8): Section mismatch in reference from the function vduse_init() to the function .init.text:set_reset_devices()
The function vduse_init() references
the function __init set_reset_devices().
This is often because vduse_init lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x8850c6): Section mismatch in reference from the function vduse_create_dev() to the function .init.text:set_reset_devices()
The function vduse_create_dev() references
the function __init set_reset_devices().
This is often because vduse_create_dev lacks a __init
annotation or the annotation of set_reset_devices is wrong.
--
0-DAY CI Kernel Test Service
https://01.org/lkp