Messages in this thread Patch in this message | | | From | Marcel Ziswiler <> | Subject | [PATCH v1] drm: import DMA_BUF module namespace | Date | Wed, 27 Oct 2021 17:25:34 +0200 |
| |
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Today's -next fails building arm64 defconfig as follows:
ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it. ERROR: modpost: module drm_cma_helper uses symbol dma_buf_vmap from namespace DMA_BUF, but does not import it.
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org> Fixes: commit 4b2b5e142ff4 ("drm: Move GEM memory managers into modules") Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---
drivers/gpu/drm/drm_gem_cma_helper.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c index 6f7b3f8ec04d3..69f8564ad11cd 100644 --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c @@ -23,6 +23,8 @@ #include <drm/drm_gem_cma_helper.h> #include <drm/drm_vma_manager.h> +MODULE_IMPORT_NS(DMA_BUF); + /** * DOC: cma helpers * -- 2.26.2
| |