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

Stephen Rothwell
2021-08-18T22:54:53Z

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]