[PATCH] RDMA/umem: fix missing automated rename

Christian König ckoenig.leichtzumerken at gmail.com
Mon Jun 7 07:06:58 UTC 2021


This occasions was missed during the recent rename of the function.

Signed-off-by: Christian König <christian.koenig at amd.com>
Reported-by: kernel test robot <lkp at intel.com>
Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
 drivers/infiniband/core/umem_dmabuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/core/umem_dmabuf.c b/drivers/infiniband/core/umem_dmabuf.c
index 0d65ce146fc4..c6e875619fac 100644
--- a/drivers/infiniband/core/umem_dmabuf.c
+++ b/drivers/infiniband/core/umem_dmabuf.c
@@ -66,7 +66,7 @@ int ib_umem_dmabuf_map_pages(struct ib_umem_dmabuf *umem_dmabuf)
 	 * may be not up-to-date. Wait for the exporter to finish
 	 * the migration.
 	 */
-	fence = dma_resv_get_excl(umem_dmabuf->attach->dmabuf->resv);
+	fence = dma_resv_excl_fence(umem_dmabuf->attach->dmabuf->resv);
 	if (fence)
 		return dma_fence_wait(fence, false);
 
-- 
2.25.1



More information about the dri-devel mailing list