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

From: Arnd Bergmann
Date: Mon Aug 12 2019 - 05:14:28 EST


On Mon, Aug 12, 2019 at 9:14 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the slave-dma tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> WARNING: "omap_dma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL_GPL
> WARNING: "edma_filter_fn" [vmlinux] is a static EXPORT_SYMBOL
>
> Introduced by commits
>
> 9c71b9eb3cb2 ("dmaengine: omap-dma: make omap_dma_filter_fn private")
> d2bfe7b5d182 ("dmaengine: edma: make edma_filter_fn private")

The warning is valid, I will send a fix.

I have never seen this message though, I guess the build system just introduced
a check for this? I don't see where this would come from in next-20190809
(only checking with grep, not actually trying to build right now).

Arnd