public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] drm: import DMA_BUF module namespace
@ 2021-10-27 15:25 Marcel Ziswiler
  2021-10-27 18:30 ` Thomas Zimmermann
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Ziswiler @ 2021-10-27 15:25 UTC (permalink / raw)
  To: Linux-Next Mailing List, dri-devel, open list, Linux ARM,
	Thomas Zimmermann
  Cc: Arnd Bergmann, Alexandre Belloni, David Airlie, Maxime Ripard,
	Andrey Konovalov, Stephen Rothwell, Maarten Lankhorst,
	Linus Walleij, Daniel Vetter, Marcel Ziswiler,
	Linux Kernel Functional Testing

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-29  7:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-27 15:25 [PATCH v1] drm: import DMA_BUF module namespace Marcel Ziswiler
2021-10-27 18:30 ` Thomas Zimmermann
2021-10-27 20:54   ` Marcel Ziswiler
2021-10-28 18:45     ` Thomas Zimmermann
2021-10-29  7:19       ` Marcel Ziswiler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox