Hi Flora, FYI, the error/warning still remains. tree: git://people.freedesktop.org/~agd5f/linux.git amd-19.50 head: f9a0b7ad3447d7766dda9923e63a5f4d0be7ce47 commit: c53ae0e01db63d1b142681add947781668e3319c [2027/2713] drm/amdkcl: drop kcl_dma_fence_set_error config: i386-allyesconfig (attached as .config) compiler: gcc-7 (Debian 7.5.0-3) 7.5.0 reproduce: git checkout c53ae0e01db63d1b142681add947781668e3319c # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/scheduler/backport/backport.h:5:0, from <command-line>:0: include/kcl/kcl_fence.h: In function 'kcl_fence_get_rcu_safe': include/kcl/kcl_fence.h:124:32: error: passing argument 1 of 'dma_fence_get_rcu_safe' from incompatible pointer type [-Werror=incompatible-pointer-types] return dma_fence_get_rcu_safe(fencep); ^~~~~~ In file included from include/kcl/kcl_fence.h:9:0, from drivers/gpu/drm/scheduler/backport/backport.h:5, from <command-line>:0: include/linux/dma-fence.h:315:1: note: expected 'struct dma_fence **' but argument is of type 'struct fence **' dma_fence_get_rcu_safe(struct dma_fence __rcu **fencep) ^~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/scheduler/backport/backport.h:5:0, from <command-line>:0: include/kcl/kcl_fence.h:124:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types] return dma_fence_get_rcu_safe(fencep); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_fence.h: At top level: >> include/kcl/kcl_fence.h:129:20: error: redefinition of 'dma_fence_set_error' static inline void dma_fence_set_error(struct dma_fence *fence, ^~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_fence.h:9:0, from drivers/gpu/drm/scheduler/backport/backport.h:5, from <command-line>:0: include/linux/dma-fence.h:517:20: note: previous definition of 'dma_fence_set_error' was here static inline void dma_fence_set_error(struct dma_fence *fence, ^~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/scheduler/backport/backport.h:5:0, from <command-line>:0: include/kcl/kcl_fence.h: In function 'dma_fence_set_error': >> include/kcl/kcl_fence.h:135:7: error: 'struct dma_fence' has no member named 'status' fence->status = error; ^~ cc1: some warnings being treated as errors vim +/dma_fence_set_error +129 include/kcl/kcl_fence.h 127 128 #if !defined(HAVE_DMA_FENCE_SET_ERROR) > 129 static inline void dma_fence_set_error(struct dma_fence *fence, 130 int error) 131 { 132 BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)); 133 BUG_ON(error >= 0 || error < -MAX_ERRNO); 134 > 135 fence->status = error; 136 } 137 #endif 138 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel