tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 59250f8a7f3a60a2661b84cbafc1e0eb5d05ec9b 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/20220417/202204170429.sEZb8tjA-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+0x1718cce): Section mismatch in reference from the function bmi160_i2c_probe() to the function .init.text:set_reset_devices() The function bmi160_i2c_probe() references the function __init set_reset_devices(). This is often because bmi160_i2c_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x172619c): Section mismatch in reference from the function st_lsm6dsx_probe() to the function .init.text:set_reset_devices() The function st_lsm6dsx_probe() references the function __init set_reset_devices(). This is often because st_lsm6dsx_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x175c62e): Section mismatch in reference from the function mb1232_probe() to the function .init.text:set_reset_devices() The function mb1232_probe() references the function __init set_reset_devices(). This is often because mb1232_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x179066c): Section mismatch in reference from the function binder_update_page_range() to the function .init.text:set_reset_devices() The function binder_update_page_range() references the function __init set_reset_devices(). This is often because binder_update_page_range lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x179c6b4): Section mismatch in reference from the function altera_cvp_probe() to the function .init.text:set_reset_devices() The function altera_cvp_probe() references the function __init set_reset_devices(). This is often because altera_cvp_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x179c8e2): Section mismatch in reference from the function altera_cvp_remove() to the function .init.text:set_reset_devices() The function altera_cvp_remove() references the function __init set_reset_devices(). This is often because altera_cvp_remove lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x18738e8): Section mismatch in reference from the function ethtool_rxnfc_copy_from_user() to the function .init.text:set_reset_devices() The function ethtool_rxnfc_copy_from_user() references the function __init set_reset_devices(). This is often because ethtool_rxnfc_copy_from_user lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x1873c7c): Section mismatch in reference from the function ethtool_copy_validate_indir() to the function .init.text:set_reset_devices() The function ethtool_copy_validate_indir() references the function __init set_reset_devices(). This is often because ethtool_copy_validate_indir lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x1879d9a): Section mismatch in reference from the function ethnl_set_linkmodes() to the function .init.text:set_reset_devices() The function ethnl_set_linkmodes() references the function __init set_reset_devices(). This is often because ethnl_set_linkmodes lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x187ebf6): Section mismatch in reference from the function tsinfo_prepare_data() to the function .init.text:set_reset_devices() The function tsinfo_prepare_data() references the function __init set_reset_devices(). This is often because tsinfo_prepare_data lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x191c146): Section mismatch in reference from the function ieee802154_start_req() to the function .init.text:set_reset_devices() The function ieee802154_start_req() references the function __init set_reset_devices(). This is often because ieee802154_start_req lacks a __init annotation or the annotation of set_reset_devices is wrong. .. -- 0-DAY CI Kernel Test Service https://01.org/lkp