2024-04-26 16:30:04

by kernel test robot

[permalink] [raw]
Subject: mm/kasan/report.c:143:20: error: unused function 'kasan_kunit_test_suite_executing'

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c942a0cd3603e34dd2d7237e064d9318cb7f9654
commit: c8c7016f50c85688d71feea2dba1bd955d5f5358 kasan: fail non-kasan KUnit tests on KASAN reports
date: 1 year, 5 months ago
config: x86_64-sof-customedconfig-memory-debug-defconfig (https://download.01.org/0day-ci/archive/20240427/[email protected]/config)
compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240427/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> mm/kasan/report.c:143:20: error: unused function 'kasan_kunit_test_suite_executing' [-Werror,-Wunused-function]
143 | static inline bool kasan_kunit_test_suite_executing(void) { return false; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


vim +/kasan_kunit_test_suite_executing +143 mm/kasan/report.c

142
> 143 static inline bool kasan_kunit_test_suite_executing(void) { return false; }
144

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki