tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: 236f2fb63c10e919d7220c5f5f1fa8e97ed68c42 commit: 6a0dc1126fa6b65ba9b92f0c0a831baa57c827bf [359/412] kasan: improve kasan_non_canonical_hook config: xtensa-randconfig-002-20231223 (https://download.01.org/0day-ci/archive/20231224/202312240755.MqsWuTno-lkp@xxxxxxxxx/config) compiler: xtensa-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231224/202312240755.MqsWuTno-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202312240755.MqsWuTno-lkp@xxxxxxxxx/ All error/warnings (new ones prefixed by >>): In file included from mm/kasan/init.c:20: mm/kasan/kasan.h: In function 'addr_in_shadow': >> mm/kasan/kasan.h:313:32: error: 'KASAN_SHADOW_END' undeclared (first use in this function); did you mean 'KASAN_SHADOW_INIT'? 313 | addr < (void *)KASAN_SHADOW_END; | ^~~~~~~~~~~~~~~~ | KASAN_SHADOW_INIT mm/kasan/kasan.h:313:32: note: each undeclared identifier is reported only once for each function it appears in -- In file included from mm/kasan/report.c:34: mm/kasan/kasan.h: In function 'addr_in_shadow': >> mm/kasan/kasan.h:313:32: error: 'KASAN_SHADOW_END' undeclared (first use in this function); did you mean 'KASAN_SHADOW_INIT'? 313 | addr < (void *)KASAN_SHADOW_END; | ^~~~~~~~~~~~~~~~ | KASAN_SHADOW_INIT mm/kasan/kasan.h:313:32: note: each undeclared identifier is reported only once for each function it appears in >> mm/kasan/kasan.h:314:1: warning: control reaches end of non-void function [-Wreturn-type] 314 | } | ^ vim +313 mm/kasan/kasan.h 309 310 static __always_inline bool addr_in_shadow(const void *addr) 311 { 312 return addr >= (void *)KASAN_SHADOW_START && > 313 addr < (void *)KASAN_SHADOW_END; > 314 } 315 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki