mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
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:
parent
104016eb67
commit
7c2889af82
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue