tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 3cc2bd440f2171f093b3a8480a4b54d8c270ed38 commit: a95e1acb4b30da8b0cc96bc90c815162ab91b538 [12467/13205] ubsan: remove UBSAN_MISC in favor of individual options config: mips-randconfig-r012-20201209 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5ff35356f1af2bb92785b38c657463924d9ec386) 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 mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a95e1acb4b30da8b0cc96bc90c815162ab91b538 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 a95e1acb4b30da8b0cc96bc90c815162ab91b538 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>, old ones prefixed by <<): >> WARNING: modpost: vmlinux.o(.text+0x1e10e): Section mismatch in reference from the variable $BB2_91 to the function .init.text:loongson2_sc_init() The function $BB2_91() references the function __init loongson2_sc_init(). This is often because $BB2_91 lacks a __init annotation or the annotation of loongson2_sc_init is wrong. -- >> WARNING: modpost: vmlinux.o(.text+0x1e11c): Section mismatch in reference from the variable $BB2_91 to the function .init.text:loongson3_sc_init() The function $BB2_91() references the function __init loongson3_sc_init(). This is often because $BB2_91 lacks a __init annotation or the annotation of loongson3_sc_init is wrong. The below error/warnings are from parent commit: << WARNING: modpost: vmlinux.o(.text+0x22b5c): Section mismatch in reference from the variable $BB2_94 to the function .init.text:loongson2_sc_init() << WARNING: modpost: vmlinux.o(.text+0x22b6a): Section mismatch in reference from the variable $BB2_94 to the function .init.text:loongson3_sc_init() << WARNING: modpost: vmlinux.o(.text+0x3fca6): Section mismatch in reference from the function mips_sc_init() to the function .init.text:mips_sc_probe() << WARNING: modpost: vmlinux.o(.text+0x22b5c): Section mismatch in reference from the variable $BB2_94 to the function .init.text:loongson2_sc_init() << WARNING: modpost: vmlinux.o(.text+0x22b6a): Section mismatch in reference from the variable $BB2_94 to the function .init.text:loongson3_sc_init() << WARNING: modpost: vmlinux.o(.text+0x3fca6): Section mismatch in reference from the function mips_sc_init() to the function .init.text:mips_sc_probe() --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org