Skip to contentSkip to conversation

linux-next: build failure after merge of the drm tree

PATCH Mark Brown 3 participants 3 messages Mar 10

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'struct dma_buf_attach_ops' has no member named 'move_notify'
210 | .move_notify = ib_umem_dmabuf_revoke_locked,

      |          ^~~~~~~~~~~

Caused by commit

932f1eef09ecb (RDMA/umem: Add pinned revocable dmabuf import interface)

from the rdma tree interacting with commit

ef246da8e63c4 (dma-buf: Rename .move_notify() callback to a clearer identifier)

from the drm tree. I have fixed this up as below and can carry as required.

commit 0cab8756cbc2f43cec2b8e88f2ea3c985491a426

Author: Mark Brown <[email protected]>
Date:   Tue Mar 10 15:15:19 2026 +0000

drm/rdma: Fix up merge

/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'struct dma_buf_attach_ops' has no member named 'move_notify'
210 | .move_notify = ib_umem_dmabuf_revoke_locked,
| ^~~~~~~~~~~
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drive

drivers/infiniband/core/umem_dmabuf.c +1 -1
index d7ade877bf9d1..ad023c2d84d85 100644
@@ -207,7 +207,7 @@ static void ib_umem_dmabuf_revoke_locked(struct dma_buf_attachment *attach)
 
 static struct dma_buf_attach_ops ib_umem_dmabuf_attach_pinned_revocable_ops = {
 	.allow_peer2peer = true,
-	.move_notify = ib_umem_dmabuf_revoke_locked,
+	.invalidate_mappings = ib_umem_dmabuf_revoke_locked,
 };
 
 static struct ib_umem_dmabuf *
Reviewed-by
#1 lore raw
Quoted 48 lines · Mark Brown

Hi all,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'struct dma_buf_attach_ops' has no member named 'move_notify'
210 | .move_notify = ib_umem_dmabuf_revoke_locked,

      |          ^~~~~~~~~~~

Caused by commit

932f1eef09ecb (RDMA/umem: Add pinned revocable dmabuf import interface)

from the rdma tree interacting with commit

ef246da8e63c4 (dma-buf: Rename .move_notify() callback to a clearer identifier)

from the drm tree. I have fixed this up as below and can carry as required.

commit 0cab8756cbc2f43cec2b8e88f2ea3c985491a426

Author: Mark Brown <[email protected]>
Date:   Tue Mar 10 15:15:19 2026 +0000

drm/rdma: Fix up merge

/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'struct dma_buf_attach_ops' has no member named 'move_notify'
210 | .move_notify = ib_umem_dmabuf_revoke_locked,
| ^~~~~~~~~~~
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drive

drivers/infiniband/core/umem_dmabuf.c +1 -1
index d7ade877bf9d1..ad023c2d84d85 100644
@@ -207,7 +207,7 @@ static void ib_umem_dmabuf_revoke_locked(struct dma_buf_attachment *attach)
 
 static struct dma_buf_attach_ops ib_umem_dmabuf_attach_pinned_revocable_ops = {
        .allow_peer2peer = true,
-       .move_notify = ib_umem_dmabuf_revoke_locked,
+       .invalidate_mappings = ib_umem_dmabuf_revoke_locked,
 };
 
 static struct ib_umem_dmabuf *
Reviewed-by
#2 lore raw
In reply to Mark Brown
Quoted 25 lines · Mark Brown

Hi all,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'struct dma_buf_attach_ops' has no member named 'move_notify'
210 | .move_notify = ib_umem_dmabuf_revoke_locked,

      |          ^~~~~~~~~~~

Caused by commit

932f1eef09ecb (RDMA/umem: Add pinned revocable dmabuf import interface)

from the rdma tree interacting with commit

ef246da8e63c4 (dma-buf: Rename .move_notify() callback to a clearer identifier)

from the drm tree. I have fixed this up as below and can carry as required.

commit 0cab8756cbc2f43cec2b8e88f2ea3c985491a426

Author: Mark Brown <[email protected]>
Date:   Tue Mar 10 15:15:19 2026 +0000
Quoted 8 lines

drm/rdma: Fix up merge

/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'struct dma_buf_attach_ops' has no member named 'move_notify'
210 | .move_notify = ib_umem_dmabuf_revoke_locked,
| ^~~~~~~~~~~
make[6]: *** [/tmp/next/build/scripts/Makefile.build:289: drive

Quoted 14 lines
drivers/infiniband/core/umem_dmabuf.c +1 -1
index d7ade877bf9d1..ad023c2d84d85 100644
@@ -207,7 +207,7 @@ static void ib_umem_dmabuf_revoke_locked(struct dma_buf_attachment *attach)
 
 static struct dma_buf_attach_ops ib_umem_dmabuf_attach_pinned_revocable_ops = {
 	.allow_peer2peer = true,
-	.move_notify = ib_umem_dmabuf_revoke_locked,
+	.invalidate_mappings = ib_umem_dmabuf_revoke_locked,
 };
 
 static struct ib_umem_dmabuf *