lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAA+D8AOWPRU1gGco2CoTmPtosd1eS4qGnOdg=BEd=_HGQKUZuA@mail.gmail.com>
Date: Mon, 16 Dec 2024 13:48:56 +0800
From: Shengjiu Wang <shengjiu.wang@...il.com>
To: Shengjiu Wang <shengjiu.wang@....com>
Cc: vkoul@...nel.org, perex@...ex.cz, tiwai@...e.com, 
	linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org, broonie@...nel.org, 
	lgirdwood@...il.com
Subject: Re: [PATCH] ALSA: compress_offload: import namespace DMA_BUF

On Mon, Dec 16, 2024 at 10:12 AM Shengjiu Wang <shengjiu.wang@....com> wrote:
>
> Fix below warning:
> WARNING: modpost: module snd-compress uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
> WARNING: modpost: module snd-compress uses symbol dma_buf_fd from namespace DMA_BUF, but does not import it.
> WARNING: modpost: module snd-compress uses symbol dma_buf_get from namespace DMA_BUF, but does not import it.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202412150026.EMUdbO09-lkp@intel.com/
> Signed-off-by: Shengjiu Wang <shengjiu.wang@....com>

missed fixes tag, let me send v2.

Best Regards
Shengjiu Wang

> ---
>  sound/core/compress_offload.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c
> index 86ed2fbee0c8..6f2d389abd04 100644
> --- a/sound/core/compress_offload.c
> +++ b/sound/core/compress_offload.c
> @@ -993,6 +993,8 @@ static int snd_compr_partial_drain(struct snd_compr_stream *stream)
>
>  #if IS_ENABLED(CONFIG_SND_COMPRESS_ACCEL)
>
> +MODULE_IMPORT_NS("DMA_BUF");
> +
>  static struct snd_compr_task_runtime *
>  snd_compr_find_task(struct snd_compr_stream *stream, __u64 seqno)
>  {
> --
> 2.37.1
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ