All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/nouveau/nv10_fence.c:35:40: sparse: sparse: incorrect type in initializer (different address spaces)
@ 2025-12-14 17:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-14 17:48 UTC (permalink / raw)
  To: Ben Skeggs; +Cc: oe-kbuild-all, linux-kernel, Danilo Krummrich

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   8f0b4cce4481fb22653697cced8d0d04027cb1e8
commit: 0df26c0d69dce1141218e0e5ed0ad378a0c6c058 drm/nouveau: remove push pointer from nouveau_channel
date:   1 year, 5 months ago
config: powerpc64-randconfig-r112-20251212 (https://download.01.org/0day-ci/archive/20251215/202512150150.LLdn83bp-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251215/202512150150.LLdn83bp-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/202512150150.LLdn83bp-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/nouveau/nv10_fence.c:35:40: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct nvif_push *push @@     got struct nvif_push [noderef] __rcu * @@
   drivers/gpu/drm/nouveau/nv10_fence.c:35:40: sparse:     expected struct nvif_push *push
   drivers/gpu/drm/nouveau/nv10_fence.c:35:40: sparse:     got struct nvif_push [noderef] __rcu *

vim +35 drivers/gpu/drm/nouveau/nv10_fence.c

    31	
    32	int
    33	nv10_fence_emit(struct nouveau_fence *fence)
    34	{
  > 35		struct nvif_push *push = &fence->channel->chan.push;
    36		int ret = PUSH_WAIT(push, 2);
    37		if (ret == 0) {
    38			PUSH_MTHD(push, NV06E, SET_REFERENCE, fence->base.seqno);
    39			PUSH_KICK(push);
    40		}
    41		return ret;
    42	}
    43	

-- 
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:[~2025-12-14 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-14 17:48 drivers/gpu/drm/nouveau/nv10_fence.c:35:40: sparse: sparse: incorrect type in initializer (different address spaces) 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.