Messages in this thread | | | Date | Fri, 28 Jul 2023 01:06:44 +0800 | From | kernel test robot <> | Subject | kernel/trace/rv/monitors/wip/wip.c:20:1: sparse: sparse: symbol 'da_mon_wip' was not declared. Should it be static? |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0a8db05b571ad5b8d5c8774a004c0424260a90bd commit: 10bde81c74863472047f31304064018c40f488ee rv/monitor: Add the wip monitor date: 12 months ago config: i386-randconfig-i063-20230727 (https://download.01.org/0day-ci/archive/20230728/202307280030.7EjUG9gR-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230728/202307280030.7EjUG9gR-lkp@intel.com/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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202307280030.7EjUG9gR-lkp@intel.com/
sparse warnings: (new ones prefixed by >>) kernel/trace/rv/monitors/wip/wip.c: note: in included file: kernel/trace/rv/monitors/wip/wip.h:30:22: sparse: sparse: symbol 'automaton_wip' was not declared. Should it be static?
vim +/da_mon_wip +20 kernel/trace/rv/monitors/wip/wip.c
8812d21219b9c6 Daniel Bristot de Oliveira 2022-07-29 18 8812d21219b9c6 Daniel Bristot de Oliveira 2022-07-29 @19 struct rv_monitor rv_wip; 8812d21219b9c6 Daniel Bristot de Oliveira 2022-07-29 @20 DECLARE_DA_MON_PER_CPU(wip, unsigned char); 8812d21219b9c6 Daniel Bristot de Oliveira 2022-07-29 21
:::::: The code at line 20 was first introduced by commit :::::: 8812d21219b9c649dd25eb93915e00939944aeb7 rv/monitor: Add the wip monitor skeleton created by dot2k
:::::: TO: Daniel Bristot de Oliveira <bristot@kernel.org> :::::: CC: Steven Rostedt (Google) <rostedt@goodmis.org>
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| |