tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.10 head: aadf7ad9db2f7d93ecfb34d0e4f328519460c94e commit: 9f94c4bd2c57e79adadc292fc8797f7f9a9aebdf [9095/9999] UPSTREAM: arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled config: arm64-buildonly-randconfig-r002-20221215 compiler: aarch64-linux-gcc (GCC) 12.1.0 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 # https://github.com/ammarfaizi2/linux-block/commit/9f94c4bd2c57e79adadc292fc8797f7f9a9aebdf git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.10 git checkout 9f94c4bd2c57e79adadc292fc8797f7f9a9aebdf # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot Note: functions only called from assembly code should be annotated with the asmlinkage attribute All warnings (new ones prefixed by >>): >> arch/arm64/kernel/mte.c:197:13: warning: no previous prototype for 'kasan_hw_tags_enable' [-Wmissing-prototypes] 197 | void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr, | ^~~~~~~~~~~~~~~~~~~~ vim +/kasan_hw_tags_enable +197 arch/arm64/kernel/mte.c 196 > 197 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr, 198 __le32 *updptr, int nr_inst) 199 { 200 BUG_ON(nr_inst != 1); /* Branch -> NOP */ 201 202 if (kasan_hw_tags_enabled()) 203 *updptr = cpu_to_le32(aarch64_insn_gen_nop()); 204 } 205 -- 0-DAY CI Kernel Test Service https://01.org/lkp