Skip to content

Commit 7c2889a

Browse files
committed
RDMA/uverbs: Import DMA-BUF module in uverbs_std_types_dmabuf file
Fix the following compilation error: ERROR: modpost: module ib_uverbs uses symbol dma_buf_move_notify from namespace DMA_BUF, but does not import it. Fixes: 0ac6f40 ("RDMA/uverbs: Add DMABUF object type and operations") Link: https://patch.msgid.link/20260225-fix-uverbs-compilation-v1-1-acf7b3d0f9fa@nvidia.com Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
1 parent 104016e commit 7c2889a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/infiniband/core/uverbs_std_types_dmabuf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include "rdma_core.h"
1111
#include "uverbs.h"
1212

13+
MODULE_IMPORT_NS("DMA_BUF");
14+
1315
static int uverbs_dmabuf_attach(struct dma_buf *dmabuf,
1416
struct dma_buf_attachment *attachment)
1517
{

0 commit comments

Comments
 (0)