[jimc:m-5 105/106] drivers/gpu/drm/drm_gpuvm.c:1075:1: sparse: sparse: symbol 'gpuvm_scratchpad_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 m-5
head:   f4586ca88dc640ffb7dea6725f1b347cd3c51bf9
commit: 7ea7256340194fe4223105505426c05bdc8a7a40 [105/106] fixup! drm/gpuvm: Route gpuva_op allocations to folio_scratchpad
config: sparc-randconfig-r134-20260819 (https://download.01.org/0day-ci/archive/20260819/[email protected]/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260819/[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 >>)
>> drivers/gpu/drm/drm_gpuvm.c:1075:1: sparse: sparse: symbol 'gpuvm_scratchpad_key' was not declared. Should it be static?

vim +/gpuvm_scratchpad_key +1075 drivers/gpu/drm/drm_gpuvm.c

  1074	
> 1075	DEFINE_FOLIO_POOL_STATIC_KEY_PARAM(gpuvm_scratchpad_key, va_scratchpad,
  1076					   "Toggle DRM GPUVM range folio scratchpad allocator");
  1077	

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