linux-next: build warnings after merge of the sound tree
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")
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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 6 lines · Stephen Rothwell
Hi all,
After merging the sound tree, today's linux-next build (htmldocs) produced these warnings:
Quoted 6 lines
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.
Quoted 4 lines
Also, the declaration of this function in
include/ound/memalloc.hlooks incorrect as it has different declarations depending onCONFIG_HAS_DMA, but then another one afterwards. I expect this will cause errors ifCONFIG_HAS_DMAis not set.
Gah this was a leftover after some rebase. Will fix up altogether.
thanks,
Takashi