[drm-xe:drm-xe-next 8/9] drivers/gpu/drm/xe/xe_debugfs.c:46:1: sparse: sparse: symbol 'wedge_cold_reset' was not declared. Should it be static?

kernel test robot <[email protected]>
Newsgroups org.freedesktop.lists.intel-xe,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
head:   9736ca77f060472d196c118c5f14943b4606f6d3
commit: f29c2bd7eaeb73afcdbd4e3bbf54d6f8799a9b06 [8/9] drm/xe/ras: Use fault-inject to trigger cold-reset wedge
config: i386-randconfig-061-20260815 (https://download.01.org/0day-ci/archive/20260815/[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/20260815/[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_debugfs.c:46:1: sparse: sparse: symbol 'wedge_cold_reset' was not declared. Should it be static?

vim +/wedge_cold_reset +46 drivers/gpu/drm/xe/xe_debugfs.c

    43	
  > 44	DECLARE_FAULT_ATTR(gt_reset_failure);
    45	DECLARE_FAULT_ATTR(inject_csc_hw_error);
  > 46	DECLARE_FAULT_ATTR(wedge_cold_reset);
    47	

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