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: 0ac6f4056c ("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>
This commit is contained in:
Leon Romanovsky 2026-02-25 15:48:59 +02:00 committed by Leon Romanovsky
parent 104016eb67
commit 7c2889af82

View file

@ -10,6 +10,8 @@
#include "rdma_core.h" #include "rdma_core.h"
#include "uverbs.h" #include "uverbs.h"
MODULE_IMPORT_NS("DMA_BUF");
static int uverbs_dmabuf_attach(struct dma_buf *dmabuf, static int uverbs_dmabuf_attach(struct dma_buf *dmabuf,
struct dma_buf_attachment *attachment) struct dma_buf_attachment *attachment)
{ {