Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Sep 3, 2017 – Sep 4, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Christoph,

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

drivers/base/dma-coherent.c: In function '__dma_alloc_from_coherent':
drivers/base/dma-coherent.c:160:6: warning: unused variable 'dma_memory_map' [-Wunused-variable]

  int dma_memory_map;
      ^

Introduced by commit

2436bdcda53f ("dma-coherent: remove the DMA_MEMORY_MAP and DMA_MEMORY_IO flags")

Signature · 2 lines
Cheers,
Stephen Rothwell