tree:   https://gitlab.freedesktop.org/drm/misc/kernel.git for-linux-next
head:   645186bf86932c6b9deed2e564cffd09576ba9a4
commit: 8b85987d3cf50178f67618122d9f3bb202f62f42 [1/1] Merge drm/drm-next into 
drm-misc-next
config: arm-randconfig-002-20260225 
(https://download.01.org/0day-ci/archive/20260225/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260225/[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]/

Note: the drm-misc/for-linux-next HEAD 645186bf86932c6b9deed2e564cffd09576ba9a4 
builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   drivers/infiniband/core/uverbs_std_types_dmabuf.c: In function 
'uverbs_dmabuf_fd_destroy_uobj':
>> drivers/infiniband/core/uverbs_std_types_dmabuf.c:170:3: error: implicit 
>> declaration of function 'dma_buf_move_notify'; did you mean 
>> 'dma_buf_free_sgt'? [-Werror=implicit-function-declaration]
      dma_buf_move_notify(uverbs_dmabuf->dmabuf);
      ^~~~~~~~~~~~~~~~~~~
      dma_buf_free_sgt
   cc1: some warnings being treated as errors
--
   drivers/infiniband/core/ib_core_uverbs.c: In function 
'rdma_user_mmap_entry_remove':
>> drivers/infiniband/core/ib_core_uverbs.c:249:3: error: implicit declaration 
>> of function 'dma_buf_move_notify'; did you mean 'dma_buf_iter_next'? 
>> [-Werror=implicit-function-declaration]
      dma_buf_move_notify(uverbs_dmabuf->dmabuf);
      ^~~~~~~~~~~~~~~~~~~
      dma_buf_iter_next
   cc1: some warnings being treated as errors


vim +170 drivers/infiniband/core/uverbs_std_types_dmabuf.c

0ac6f4056c4a25 Yishai Hadas 2026-02-01  147  
0ac6f4056c4a25 Yishai Hadas 2026-02-01  148  DECLARE_UVERBS_NAMED_METHOD(
0ac6f4056c4a25 Yishai Hadas 2026-02-01  149     UVERBS_METHOD_DMABUF_ALLOC,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  150     
UVERBS_ATTR_FD(UVERBS_ATTR_ALLOC_DMABUF_HANDLE,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  151                    
UVERBS_OBJECT_DMABUF,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  152                    
UVERBS_ACCESS_NEW,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  153                    UA_MANDATORY),
0ac6f4056c4a25 Yishai Hadas 2026-02-01  154     
UVERBS_ATTR_PTR_IN(UVERBS_ATTR_ALLOC_DMABUF_PGOFF,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  155                        
UVERBS_ATTR_TYPE(u64),
0ac6f4056c4a25 Yishai Hadas 2026-02-01  156                        
UA_MANDATORY));
0ac6f4056c4a25 Yishai Hadas 2026-02-01  157  
0ac6f4056c4a25 Yishai Hadas 2026-02-01  158  static void 
uverbs_dmabuf_fd_destroy_uobj(struct ib_uobject *uobj,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  159                                     
  enum rdma_remove_reason why)
0ac6f4056c4a25 Yishai Hadas 2026-02-01  160  {
0ac6f4056c4a25 Yishai Hadas 2026-02-01  161     struct ib_uverbs_dmabuf_file 
*uverbs_dmabuf =
0ac6f4056c4a25 Yishai Hadas 2026-02-01  162             container_of(uobj, 
struct ib_uverbs_dmabuf_file, uobj);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  163     bool wait_for_comp = false;
0ac6f4056c4a25 Yishai Hadas 2026-02-01  164  
0ac6f4056c4a25 Yishai Hadas 2026-02-01  165     
mutex_lock(&uverbs_dmabuf->mmap_entry->dmabufs_lock);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  166     
dma_resv_lock(uverbs_dmabuf->dmabuf->resv, NULL);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  167     if (!uverbs_dmabuf->revoked) {
0ac6f4056c4a25 Yishai Hadas 2026-02-01  168             uverbs_dmabuf->revoked 
= true;
0ac6f4056c4a25 Yishai Hadas 2026-02-01  169             
list_del(&uverbs_dmabuf->dmabufs_elm);
0ac6f4056c4a25 Yishai Hadas 2026-02-01 @170             
dma_buf_move_notify(uverbs_dmabuf->dmabuf);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  171             
dma_resv_wait_timeout(uverbs_dmabuf->dmabuf->resv,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  172                                   
DMA_RESV_USAGE_BOOKKEEP, false,
0ac6f4056c4a25 Yishai Hadas 2026-02-01  173                                   
MAX_SCHEDULE_TIMEOUT);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  174             wait_for_comp = true;
0ac6f4056c4a25 Yishai Hadas 2026-02-01  175     }
0ac6f4056c4a25 Yishai Hadas 2026-02-01  176     
dma_resv_unlock(uverbs_dmabuf->dmabuf->resv);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  177     if (wait_for_comp) {
0ac6f4056c4a25 Yishai Hadas 2026-02-01  178             
kref_put(&uverbs_dmabuf->kref, ib_uverbs_dmabuf_done);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  179             /* Let's wait till all 
DMA unmap are completed. */
0ac6f4056c4a25 Yishai Hadas 2026-02-01  180             
wait_for_completion(&uverbs_dmabuf->comp);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  181     }
0ac6f4056c4a25 Yishai Hadas 2026-02-01  182     
mutex_unlock(&uverbs_dmabuf->mmap_entry->dmabufs_lock);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  183  
0ac6f4056c4a25 Yishai Hadas 2026-02-01  184     /* Matches the get done as part 
of pgoff_to_mmap_entry() */
0ac6f4056c4a25 Yishai Hadas 2026-02-01  185     
rdma_user_mmap_entry_put(uverbs_dmabuf->mmap_entry);
0ac6f4056c4a25 Yishai Hadas 2026-02-01  186  }
0ac6f4056c4a25 Yishai Hadas 2026-02-01  187  

:::::: The code at line 170 was first introduced by commit
:::::: 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 RDMA/uverbs: Add DMABUF object 
type and operations

:::::: TO: Yishai Hadas <[email protected]>
:::::: CC: Leon Romanovsky <[email protected]>

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

Reply via email to