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

From: Stephen Rothwell
Date: Wed Aug 18 2021 - 18:54:53 EST


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")

--
Cheers,
Stephen Rothwell

Attachment: pgpByTlNbCx2P.pgp
Description: OpenPGP digital signature