tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ea3c6425269d33da53c79d539ce9554117cf4d4 commit: f334f5668bedf7307f6df1d98b14f55902931926 ilog2: force inlining of __ilog2_u32() and __ilog2_u64() date: 3 weeks ago config: riscv-randconfig-r004-20220408 (https://download.01.org/0day-ci/archive/20220411/202204110637.2vxBcwsq-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=f334f5668bedf7307f6df1d98b14f55902931926 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout f334f5668bedf7307f6df1d98b14f55902931926 # 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+0x1750660): Section mismatch in reference from the function mux_probe() to the function .init.text:set_reset_devices() The function mux_probe() references the function __init set_reset_devices(). This is often because mux_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x178ef72): 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+0x17900fc): 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+0x1798464): Section mismatch in reference from the function uniphier_efuse_probe() to the function .init.text:set_reset_devices() The function uniphier_efuse_probe() references the function __init set_reset_devices(). This is often because uniphier_efuse_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x179915a): Section mismatch in reference from the function snvs_lpgpr_probe() to the function .init.text:set_reset_devices() The function snvs_lpgpr_probe() references the function __init set_reset_devices(). This is often because snvs_lpgpr_probe lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x17abcd8): Section mismatch in reference from the function counter_comp_u64_store() to the function .init.text:set_reset_devices() The function counter_comp_u64_store() references the function __init set_reset_devices(). This is often because counter_comp_u64_store lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x1872892): 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+0x1872c26): 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+0x1874ffe): 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+0x191aec6): 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. -- >> WARNING: modpost: vmlinux.o(.text+0x191e056): Section mismatch in reference from the function llsec_parse_seclevel() to the function .init.text:set_reset_devices() The function llsec_parse_seclevel() references the function __init set_reset_devices(). This is often because llsec_parse_seclevel lacks a __init annotation or the annotation of set_reset_devices is wrong. .. Note: the below error/warnings can be found in parent commit: << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x3ee88a): Section mismatch in reference from the function __keyctl_dh_compute() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x3ef672): Section mismatch in reference from the function trusted_instantiate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x60f5f4): Section mismatch in reference from the function virtio_gpio_irq_prepare() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x1703c08): Section mismatch in reference from the function adxrs290_write_raw() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x7a4466): Section mismatch in reference from the function __traceiter_clk_set_duty_cycle_complete() to the function .exit.text:crypto_user_exit() << WARNING: modpost: vmlinux.o(.text+0x1703e28): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_set_reset_devices << WARNING: modpost: vmlinux.o(.text+0x1703e40): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_debug_kernel << WARNING: modpost: vmlinux.o(.text+0x1703e6c): Section mismatch in reference from the function adxrs290_reg_access() to the variable .init.setup:__setup_rdinit_setup << WARNING: modpost: vmlinux.o(.text+0x7a5778): Section mismatch in reference from the function __clk_mux_determine_rate() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x170406a): Section mismatch in reference from the function adxrs290_reset_trig() to the function .init.text:set_reset_devices() -- 0-DAY CI Kernel Test Service https://01.org/lkp