tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5be860bfc73408bc1a8af9167955e480ecebba84 commit: b179d48b6aab21f3999f5006685ea4254c0618a9 [9975/12617] tracing/osnoise: Add osnoise/options file config: csky-randconfig-s053-20221204 compiler: csky-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/next/linux-next.git/commit/?id=b179d48b6aab21f3999f5006685ea4254c0618a9 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 b179d48b6aab21f3999f5006685ea4254c0618a9 # 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=csky SHELL=/bin/bash kernel/trace/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> kernel/trace/trace_osnoise.c:62:15: sparse: sparse: symbol 'osnoise_options' was not declared. Should it be static? kernel/trace/trace_osnoise.c:327:14: sparse: sparse: symbol 'interface_lock' was not declared. Should it be static? vim +/osnoise_options +62 kernel/trace/trace_osnoise.c 60 61 #define OSN_DEFAULT_OPTIONS 0 > 62 unsigned long osnoise_options = OSN_DEFAULT_OPTIONS; 63 -- 0-DAY CI Kernel Test Service https://01.org/lkp