All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen:7.2/vramstuff 9/29] drivers/gpu/drm/ttm/ttm_bo_util.c:52:35: sparse: sparse: symbol 'ttm_transfer_object_funcs' was not declared. Should it be static?
@ 2026-08-30 10:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-30 10:03 UTC (permalink / raw)
  To: steven; +Cc: oe-kbuild-all

tree:   https://github.com/zen-kernel/zen-kernel 7.2/vramstuff
head:   13a8e2000329a36f994acf2fd31d307d27fa9189
commit: 57394df648c83d7fb95565867626ecdda07f4af7 [9/29] drm/ttm: replace TTMs refcount with the DRM refcount v4
config: um-randconfig-r134-20260829 (https://download.01.org/0day-ci/archive/20260830/202608301731.UpNNN4bY-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260830/202608301731.UpNNN4bY-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608301731.UpNNN4bY-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/ttm/ttm_bo_util.c:52:35: sparse: sparse: symbol 'ttm_transfer_object_funcs' was not declared. Should it be static?
   drivers/gpu/drm/ttm/ttm_bo_util.c:342:38: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *virtual @@     got void [noderef] __iomem * @@
   drivers/gpu/drm/ttm/ttm_bo_util.c:342:38: sparse:     expected void *virtual
   drivers/gpu/drm/ttm/ttm_bo_util.c:342:38: sparse:     got void [noderef] __iomem *
   drivers/gpu/drm/ttm/ttm_bo_util.c:348:38: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *virtual @@     got void [noderef] __iomem * @@
   drivers/gpu/drm/ttm/ttm_bo_util.c:348:38: sparse:     expected void *virtual
   drivers/gpu/drm/ttm/ttm_bo_util.c:348:38: sparse:     got void [noderef] __iomem *
   drivers/gpu/drm/ttm/ttm_bo_util.c:478:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got void *virtual @@
   drivers/gpu/drm/ttm/ttm_bo_util.c:478:28: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/gpu/drm/ttm/ttm_bo_util.c:478:28: sparse:     got void *virtual

vim +/ttm_transfer_object_funcs +52 drivers/gpu/drm/ttm/ttm_bo_util.c

    51	
  > 52	const struct drm_gem_object_funcs ttm_transfer_object_funcs = {
    53		.free = ttm_transfer_object_free,
    54	};
    55	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-30 10:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-30 10:03 [zen:7.2/vramstuff 9/29] drivers/gpu/drm/ttm/ttm_bo_util.c:52:35: sparse: sparse: symbol 'ttm_transfer_object_funcs' was not declared. Should it be static? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.