Skip to contentSkip to conversation

linux-next: build warning after merge of the dma-mapping tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 18, 2021 – Aug 19, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the dma-mapping tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning:

kernel/dma/coherent.c:325:29: warning: 'dma_reserved_default_memory' defined but not used [-Wunused-variable]

  325 | static struct reserved_mem *dma_reserved_default_memory __initdata;
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

b7987aff1d0c ("dma-mapping: make the global coherent pool conditional")

Signature · 2 lines
Cheers,
Stephen Rothwell