Subject: linux-next: build failure after merge of the sound-current tree

From: Stephen Rothwell <[email-masked]>
Date: Wed, 10 Nov 2021 10:00:03 +1100

Hi all,

After merging the sound-current tree, today's linux-next build (x86_64
allmodconfig) failed like this:

sound/core/memalloc.c:720:32: error: 'snd_dma_sg_wc_ops' undeclared here (not in a function); did you mean 'snd_dma_sg_ops'?
  720 |  [SNDRV_DMA_TYPE_DEV_WC_SG] = &snd_dma_sg_wc_ops,
      |                                ^~~~~~~~~~~~~~~~~
      |                                snd_dma_sg_ops
sound/core/memalloc.c:651:12: error: 'snd_dma_sg_wc_mmap' defined but not used [-Werror=unused-function]
  651 | static int snd_dma_sg_wc_mmap(struct snd_dma_buffer *dmab,
      |            ^~~~~~~~~~~~~~~~~~
sound/core/memalloc.c:641:13: error: 'snd_dma_sg_wc_free' defined but not used [-Werror=unused-function]
  641 | static void snd_dma_sg_wc_free(struct snd_dma_buffer *dmab)
      |             ^~~~~~~~~~~~~~~~~~
sound/core/memalloc.c:628:14: error: 'snd_dma_sg_wc_alloc' defined but not used [-Werror=unused-function]
  628 | static void *snd_dma_sg_wc_alloc(struct snd_dma_buffer *dmab, size_t size)
      |              ^~~~~~~~~~~~~~~~~~~

Caused by commit

  d51f779940fb ("ALSA: memalloc: Unify x86 SG-buffer handling (take#2)")

I have used the sound-current tree from next-20211109 for today.

-- 
Cheers,
Stephen Rothwell