[jimc:scratchpad-v10 11/14] drivers/gpu/drm/drm_gpuvm.c:1075:1: sparse: sparse: symbol 'ops_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: 692bad3253e1b14cbdb50c946158ff4708f6b7f1 [11/14] drm/gpuvm: Route gpuva_op allocations to scratchpad
config: i386-randconfig-061-20260825 (https://download.01.org/0day-ci/archive/20260826/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
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 >>)
>> drivers/gpu/drm/drm_gpuvm.c:1075:1: sparse: sparse: symbol 'ops_ENABLE_KEY' was not declared. Should it be static?

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

  1074	
> 1075	DEFINE_SCRATCHPAD_PARAM(ops,
  1076				"Toggle DRM GPUVM operations 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.