tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 109f6d10ec17302c4666f7df3dfa0e31d8589d41 commit: bc1dcf8421ef30e35015ca2d4271f8c2c90e0bc4 [2296/2385] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux config: riscv-buildonly-randconfig-r004-20220405 (https://download.01.org/0day-ci/archive/20220407/202204070437.p3EkHIfz-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566) 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/next/linux-next.git/commit/?id=bc1dcf8421ef30e35015ca2d4271f8c2c90e0bc4 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout bc1dcf8421ef30e35015ca2d4271f8c2c90e0bc4 # 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+0x14bb816): Section mismatch in reference from the function wiphy_sysfs_init() to the function .init.text:set_reset_devices() The function wiphy_sysfs_init() references the function __init set_reset_devices(). This is often because wiphy_sysfs_init lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.data+0x284f5c): Section mismatch in reference from the variable ieee80211_class to the function .init.text:set_reset_devices() The variable ieee80211_class references the function __init set_reset_devices() If the reference is valid then annotate the variable with or __refdata (see linux/init.h) or name the variable: Note: the below error/warnings can be found in parent commit: << WARNING: modpost: vmlinux.o(.text+0x13e72fa): Section mismatch in reference from the function br_mrp_del_impl() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7a36): Section mismatch in reference from the function br_mrp_rcv() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x28101c): Section mismatch in reference from the variable raw_notifier_lock to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x284c88): Section mismatch in reference from the variable rds_trans_sem to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x284c90): Section mismatch in reference from the variable rds_trans_sem to the function .init.text:loglevel() << WARNING: modpost: vmlinux.o(.data+0x2851e8): Section mismatch in reference from the variable reg_check_chans to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(__ex_table+0x2220): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .debug_str:(unknown) << WARNING: modpost: vmlinux.o(.text+0x13e7e04): Section mismatch in reference from the function br_mrp_mrm_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7eac): Section mismatch in reference from the function br_mrp_mim_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13eb240): Section mismatch in reference from the function aarp_send_ddp() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e72fa): Section mismatch in reference from the function br_mrp_del_impl() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7a36): Section mismatch in reference from the function br_mrp_rcv() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x28101c): Section mismatch in reference from the variable raw_notifier_lock to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x284c88): Section mismatch in reference from the variable rds_trans_sem to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x284c90): Section mismatch in reference from the variable rds_trans_sem to the function .init.text:loglevel() << WARNING: modpost: vmlinux.o(.data+0x2851e8): Section mismatch in reference from the variable reg_check_chans to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(__ex_table+0x2220): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .debug_str:(unknown) << WARNING: modpost: vmlinux.o(.text+0x13e7e04): Section mismatch in reference from the function br_mrp_mrm_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7eac): Section mismatch in reference from the function br_mrp_mim_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13eb240): Section mismatch in reference from the function aarp_send_ddp() to the function .exit.text:test_ww_mutex_exit() -- 0-DAY CI Kernel Test Service https://01.org/lkp