tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 71941773e143369a73c9c4a3b62fbb60736a1182 commit: c7dfea19781bbd36c2197c83c33227850e217366 [11851/11953] mm/migration: add trace events for base page and HugeTLB migrations config: riscv-randconfig-r042-20220314 (https://download.01.org/0day-ci/archive/20220314/202203141933.0aW33U8F-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0467eb2cb7654c15ae366967ef35093c5724c416) 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=c7dfea19781bbd36c2197c83c33227850e217366 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 c7dfea19781bbd36c2197c83c33227850e217366 # 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(.data+0x293ae4): Section mismatch in reference from the variable nf_ct_proto_mutex to the function .init.text:loglevel() The variable nf_ct_proto_mutex references the function __init loglevel() If the reference is valid then annotate the variable with or __refdata (see linux/init.h) or name the variable: -- >> WARNING: modpost: vmlinux.o(.data+0x293aec): Section mismatch in reference from the variable nf_ct_proto_mutex to the function .init.text:set_reset_devices() The variable nf_ct_proto_mutex 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: -- >> WARNING: modpost: vmlinux.o(.data+0x293ccc): Section mismatch in reference from the variable helper to the function .init.text:set_reset_devices() The variable helper 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+0x144827e): Section mismatch in reference from the function tcp4_proc_exit() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2b0ecc): Section mismatch in reference from the variable event_rpcgss_ctx_init to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x2b0ee8): Section mismatch in reference from the variable event_rpcgss_ctx_init to the variable .exit.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.data+0x2b0f18): Section mismatch in reference from the variable event_rpcgss_ctx_destroy to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x2b0f34): Section mismatch in reference from the variable event_rpcgss_ctx_destroy to the variable .exit.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.data+0x2b0f60): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .init.text:init_nls_cp737() << WARNING: modpost: vmlinux.o(.data+0x2b0f8c): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .exit.text:exit_nls_cp737() << WARNING: modpost: vmlinux.o(.data+0x2b0f90): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2b14e8): Section mismatch in reference from the variable event_rpcgss_svc_unwrap to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x293094): Section mismatch in reference from the variable nf_ct_nat_helpers_mutex to the function .init.text:loglevel() << WARNING: modpost: vmlinux.o(.text+0x144827e): Section mismatch in reference from the function tcp4_proc_exit() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2b0ecc): Section mismatch in reference from the variable event_rpcgss_ctx_init to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x2b0ee8): Section mismatch in reference from the variable event_rpcgss_ctx_init to the variable .exit.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.data+0x2b0f18): Section mismatch in reference from the variable event_rpcgss_ctx_destroy to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x2b0f34): Section mismatch in reference from the variable event_rpcgss_ctx_destroy to the variable .exit.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.data+0x2b0f60): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .init.text:init_nls_cp737() << WARNING: modpost: vmlinux.o(.data+0x2b0f8c): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .exit.text:exit_nls_cp737() << WARNING: modpost: vmlinux.o(.data+0x2b0f90): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2b14e8): Section mismatch in reference from the variable event_rpcgss_svc_unwrap to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x293094): Section mismatch in reference from the variable nf_ct_nat_helpers_mutex to the function .init.text:loglevel() << WARNING: modpost: vmlinux.o(.text+0x144827e): Section mismatch in reference from the function tcp4_proc_exit() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2b0ecc): Section mismatch in reference from the variable event_rpcgss_ctx_init to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x2b0ee8): Section mismatch in reference from the variable event_rpcgss_ctx_init to the variable .exit.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.data+0x2b0f18): Section mismatch in reference from the variable event_rpcgss_ctx_destroy to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x2b0f34): Section mismatch in reference from the variable event_rpcgss_ctx_destroy to the variable .exit.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.data+0x2b0f60): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .init.text:init_nls_cp737() << WARNING: modpost: vmlinux.o(.data+0x2b0f8c): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .exit.text:exit_nls_cp737() << WARNING: modpost: vmlinux.o(.data+0x2b0f90): Section mismatch in reference from the variable trace_event_fields_rpcgss_svc_gssapi_class to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2b14e8): Section mismatch in reference from the variable event_rpcgss_svc_unwrap to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x293094): Section mismatch in reference from the variable nf_ct_nat_helpers_mutex to the function .init.text:loglevel() --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx