tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4e7a74a6856f8613dab9794da4b5cfb8fd54fb8c commit: 15b4f8fb062a6f681b2c84cef2da7d8af4629230 [11672/11713] kasan: print basic stack frame info for SW_TAGS config: arm64-randconfig-r034-20220309 (https://download.01.org/0day-ci/archive/20220310/202203101313.LWqhjLOB-lkp@xxxxxxxxx/config) compiler: aarch64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=15b4f8fb062a6f681b2c84cef2da7d8af4629230 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 15b4f8fb062a6f681b2c84cef2da7d8af4629230 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash mm/kasan/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from arch/arm64/include/asm/bug.h:26, from include/linux/bug.h:5, from include/linux/cpumask.h:14, from include/linux/interrupt.h:8, from include/linux/trace_recursion.h:5, from include/linux/ftrace.h:10, from mm/kasan/report_sw_tags.c:13: mm/kasan/report_sw_tags.c: In function 'kasan_print_address_stack_frame': >> mm/kasan/report_sw_tags.c:58:22: error: implicit declaration of function 'object_is_on_stack' [-Werror=implicit-function-declaration] 58 | if (WARN_ON(!object_is_on_stack(addr))) | ^~~~~~~~~~~~~~~~~~ include/asm-generic/bug.h:166:32: note: in definition of macro 'WARN_ON' 166 | int __ret_warn_on = !!(condition); \ | ^~~~~~~~~ cc1: some warnings being treated as errors vim +/object_is_on_stack +58 mm/kasan/report_sw_tags.c 54 55 #ifdef CONFIG_KASAN_STACK 56 void kasan_print_address_stack_frame(const void *addr) 57 { > 58 if (WARN_ON(!object_is_on_stack(addr))) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx