linux-next: build failure after merge of the drm tree
Subsystems (2)
Mark Brown
maintainerHi 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
@@ -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 *
Jacob Moroni
Reviewed-byQuoted 48 lines · Mark Brown
Hi all,
After merging the drm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'structdma_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
0cab8756cbc2f43cec2b8e88f2ea3c985491a426Author: Mark Brown <[email protected]> Date: Tue Mar 10 15:15:19 2026 +0000drm/rdma: Fix up merge
/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'structdma_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: driveSigned-off-by Mark Brown <[email protected]>drivers/infiniband/core/umem_dmabuf.c +1
-1@@ -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 *
Christian König
Reviewed-byQuoted 25 lines · Mark Brown
Hi all,
After merging the drm tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/infiniband/core/umem_dmabuf.c:210:10: error: 'structdma_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
0cab8756cbc2f43cec2b8e88f2ea3c985491a426Author: 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: 'structdma_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: driveSigned-off-by Mark Brown <[email protected]>
Quoted 14 lines
drivers/infiniband/core/umem_dmabuf.c +1
-1@@ -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 *