Re: linux-next: build warnings after merge of the sound tree

From: Takashi Iwai
Date: Tue Oct 19 2021 - 01:58:15 EST


On Tue, 19 Oct 2021 07:54:02 +0200,
Stephen Rothwell wrote:
>
> Hi all,
>
> After merging the sound tree, today's linux-next build (htmldocs)
> produced these warnings:
>
> sound/core/memalloc.c:203: warning: Function parameter or member 'mode' not described in 'snd_dma_buffer_sync'
> sound/core/memalloc.c:203: warning: Excess function parameter 'mod' description in 'snd_dma_buffer_sync'
>
> Introduced by commit
>
> a25684a95646 ("ALSA: memalloc: Support for non-contiguous page allocation")

Thanks, I will fix this typo.

> Also, the declaration of this function in include/ound/memalloc.h looks
> incorrect as it has different declarations depending on CONFIG_HAS_DMA, but
> then another one afterwards. I expect this will cause errors if
> CONFIG_HAS_DMA is not set.

Gah this was a leftover after some rebase. Will fix up altogether.


thanks,

Takashi