[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YXj2+IdEKXmbfKi3@kroah.com>
Date: Wed, 27 Oct 2021 08:51:36 +0200
From: Greg KH <greg@...ah.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Arnd Bergmann <arnd@...db.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the char-misc tree
On Wed, Oct 27, 2021 at 03:48:43PM +1100, Stephen Rothwell wrote:
> 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@...b.auug.org.au>
> 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@...b.auug.org.au>
> ---
> 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
Looks good, I'll go apply this to my tree to keep things building
properly.
greg k-h
Powered by blists - more mailing lists