[linux-next:master 3324/3594] kernel/trace/fgraph.c:517:1: sparse: sparse: symbol 'fgraph_do_direct' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   234cb065ad82915ff8d06ce01e01c3e640b674d2
commit: cc60ee813b50334b32343861057dc9e981e9c7f0 [3324/3594] function_graph: Use static_call and branch to optimize entry function
config: i386-randconfig-r131-20240605 (https://download.01.org/0day-ci/archive/20240605/202406051711.dS1sQZ9n-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240605/202406051711.dS1sQZ9n-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/202406051711.dS1sQZ9n-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> kernel/trace/fgraph.c:517:1: sparse: sparse: symbol 'fgraph_do_direct' was not declared. Should it be static?

vim +/fgraph_do_direct +517 kernel/trace/fgraph.c

   514	
   515	static struct fgraph_ops *fgraph_direct_gops = &fgraph_stub;
   516	DEFINE_STATIC_CALL(fgraph_func, ftrace_graph_entry_stub);
 > 517	DEFINE_STATIC_KEY_TRUE(fgraph_do_direct);
   518	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux