tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1b929c02afd37871d5afb9d498426f83432e71c2 commit: c8c7016f50c85688d71feea2dba1bd955d5f5358 kasan: fail non-kasan KUnit tests on KASAN reports date: 2 weeks ago config: arm64-randconfig-s032-20221227 compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c8c7016f50c85688d71feea2dba1bd955d5f5358 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout c8c7016f50c85688d71feea2dba1bd955d5f5358 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/amd/display/dc/dml/ mm/kasan/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> mm/kasan/report.c:122:6: sparse: sparse: symbol 'kasan_kunit_executing' was not declared. Should it be static? mm/kasan/report.c:169:13: sparse: sparse: context imbalance in 'start_report' - wrong count at exit mm/kasan/report.c:187:9: sparse: sparse: context imbalance in 'end_report' - unexpected unlock vim +/kasan_kunit_executing +122 mm/kasan/report.c 117 118 /* 119 * Whether the KASAN KUnit test suite is currently being executed. 120 * Updated in kasan_test.c. 121 */ > 122 bool kasan_kunit_executing; 123 -- 0-DAY CI Kernel Test Service https://01.org/lkp