[jimc:scratchpad-v10 14/14] arch/x86/net/bpf_jit_comp.c:28:1: sparse: sparse: symbol 'jit_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: 45e5e0071e4ad7afee159e8cbe6cbe50c8db61d0 [14/14] bpf/x86: Route JIT compilation addrs and trampoline image to scratchpad
config: x86_64-randconfig-121-20260825 (https://download.01.org/0day-ci/archive/20260826/[email protected]/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260826/[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 >>)
>> arch/x86/net/bpf_jit_comp.c:28:1: sparse: sparse: symbol 'jit_ENABLE_KEY' was not declared. Should it be static?

vim +/jit_ENABLE_KEY +28 arch/x86/net/bpf_jit_comp.c

    27	
  > 28	DEFINE_SCRATCHPAD_PARAM(jit, "Toggle BPF x86 JIT compilation scratchpad");
    29	

--
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.