[jimc:scratchpad-v10 10/14] kernel/bpf/verifier.c:1749:1: sparse: sparse: symbol 'verifier_ENABLE_KEY' was not declared. Should it be static?

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/jimc/linux.git scratchpad-v10
head:   45e5e0071e4ad7afee159e8cbe6cbe50c8db61d0
commit: c9c8f578d0276bbe284eaa9359bcdf56b151bbc8 [10/14] bpf/verifier: Route verifier stack states to scratchrec pool
config: hexagon-randconfig-r133-20260825 (https://download.01.org/0day-ci/archive/20260825/[email protected]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260825/[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]/

sparse warnings: (new ones prefixed by >>)
>> kernel/bpf/verifier.c:1749:1: sparse: sparse: symbol 'verifier_ENABLE_KEY' was not declared. Should it be static?

vim +/verifier_ENABLE_KEY +1749 kernel/bpf/verifier.c

  1748	
> 1749	DEFINE_SCRATCHPAD_PARAM(verifier,
  1750				"Toggle BPF verifier stack state scratchpad pool");
  1751	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.