Hi all, After merging the char-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: ERROR: modpost: module drm_shmem_helper uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it. ERROR: modpost: module drm_shmem_helper uses symbol dma_buf_mmap from namespace DMA_BUF, but does not import it. ERROR: modpost: module drm_shmem_helper uses symbol dma_buf_vmap from namespace DMA_BUF, but does not import it. Caused by commit 16b0314aa746 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace") I have applied the following patch for today. From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Wed, 27 Oct 2021 15:44:18 +1100 Subject: [PATCH] fix for "dma-buf: move dma-buf symbols into the DMA_BUF module namespace" Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- drivers/gpu/drm/drm_gem_shmem_helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm_gem_shmem_helper.c index 57ceecb3f4d8..f7324582afe7 100644 --- a/drivers/gpu/drm/drm_gem_shmem_helper.c +++ b/drivers/gpu/drm/drm_gem_shmem_helper.c @@ -22,6 +22,8 @@ #include <drm/drm_prime.h> #include <drm/drm_print.h> +MODULE_IMPORT_NS(DMA_BUF); + /** * DOC: overview * -- 2.33.0 -- Cheers, Stephen Rothwell
Attachment:
pgpNv83wCYpE3.pgp
Description: OpenPGP digital signature