Skip to contentSkip to conversation

drivers/gpu/drm/xe/xe_vsec.c:183:22: sparse: sparse: symbol 'xe_pmt_cb' was not declared. Should it be static?

PATCH kernel test robot 1 participant 1 message Dec 4, 2024

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bcf2acd8f64b0a5783deeeb5fd70c6163ec5acd7
commit: 0c45e76fcc6243723f1f90848170d6bcb4a5bc6c [1665/1849] drm/xe/vsec: Support BMG devices
config: x86_64-randconfig-122 (https://download.01.org/0day-ci/archive/20241205/[email protected]/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241205/[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/xe/xe_vsec.c:183:22: sparse: sparse: symbol 'xe_pmt_cb' was not declared. Should it be static?

vim +/xe_pmt_cb +183 drivers/gpu/drm/xe/xe_vsec.c

182

 > 183	struct pmt_callbacks xe_pmt_cb = {

184 .read_telem = xe_pmt_telem_read,
185 };
186

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