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

Stephen Rothwell
2018-10-01T22:35:28Z

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

Hi Christoph,

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

drivers/base/platform.c:1182:12: warning: 'dma_default_get_required_mask' defined but not used [-Wunused-function]
static u64 dma_default_get_required_mask(struct device *dev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

dma_default_get_required_mask ("dma-mapping: make the get_required_mask method available unconditionally")

It is only used in the case ARCH_HAS_DMA_GET_REQUIRED_MASK is not defined.

--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]