Hi Christian,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next] [cannot apply to drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-xe/drm-xe-next linus/master v6.19 next-20260220] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Christian-K-nig/dma-buf-detac... base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260219160822.1529-2-christian.koenig%40amd.com patch subject: [PATCH 1/8] dma-buf: protected fence ops by RCU v7 config: m68k-randconfig-r111-20260221 (https://download.01.org/0day-ci/archive/20260221/202602212224.vH1Jr91w-lkp@i...) compiler: m68k-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260221/202602212224.vH1Jr91w-lkp@i...)
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/202602212224.vH1Jr91w-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/drm_crtc.c:161:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/gpu/drm/drm_crtc.c:161:9: sparse: struct dma_fence_ops const [noderef] __rcu * drivers/gpu/drm/drm_crtc.c:161:9: sparse: struct dma_fence_ops const * -- drivers/gpu/drm/scheduler/sched_fence.c:241:1: sparse: sparse: bad integer constant expression drivers/gpu/drm/scheduler/sched_fence.c:241:1: sparse: sparse: static assertion failed: "MODULE_INFO(description, ...) contains embedded NUL byte" drivers/gpu/drm/scheduler/sched_fence.c:242:1: sparse: sparse: bad integer constant expression drivers/gpu/drm/scheduler/sched_fence.c:242:1: sparse: sparse: static assertion failed: "MODULE_INFO(license, ...) contains embedded NUL byte"
drivers/gpu/drm/scheduler/sched_fence.c:198:20: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/gpu/drm/scheduler/sched_fence.c:198:20: sparse: struct dma_fence_ops const [noderef] __rcu * drivers/gpu/drm/scheduler/sched_fence.c:198:20: sparse: struct dma_fence_ops const * drivers/gpu/drm/scheduler/sched_fence.c:201:20: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/gpu/drm/scheduler/sched_fence.c:201:20: sparse: struct dma_fence_ops const [noderef] __rcu * drivers/gpu/drm/scheduler/sched_fence.c:201:20: sparse: struct dma_fence_ops const *
vim +161 drivers/gpu/drm/drm_crtc.c
35f8cc3b9a92c6 Gustavo Padovan 2016-12-06 158 6d6003c4b613c9 Gustavo Padovan 2016-11-15 159 static struct drm_crtc *fence_to_crtc(struct dma_fence *fence) 6d6003c4b613c9 Gustavo Padovan 2016-11-15 160 { 6d6003c4b613c9 Gustavo Padovan 2016-11-15 @161 BUG_ON(fence->ops != &drm_crtc_fence_ops); 6d6003c4b613c9 Gustavo Padovan 2016-11-15 162 return container_of(fence->lock, struct drm_crtc, fence_lock); 6d6003c4b613c9 Gustavo Padovan 2016-11-15 163 } 6d6003c4b613c9 Gustavo Padovan 2016-11-15 164