[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180323083134.GB23865@lst.de>
Date: Fri, 23 Mar 2018 09:31:34 +0100
From: Christoph Hellwig <hch@....de>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>
Subject: Re: linux-next: build warning after merge of the tip tree
On Fri, Mar 23, 2018 at 01:28:53PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the tip tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> lib/swiotlb.c:748:13: warning: 'swiotlb_free_buffer' defined but not used [-Wunused-function]
> static bool swiotlb_free_buffer(struct device *dev, size_t size,
> ^~~~~~~~~~~~~~~~~~~
> lib/swiotlb.c:706:1: warning: 'swiotlb_alloc_buffer' defined but not used [-Wunused-function]
> swiotlb_alloc_buffer(struct device *dev, size_t size, dma_addr_t *dma_handle,
> ^~~~~~~~~~~~~~~~~~~~
>
> Introduced by commit
>
> 16e73adbca76 ("dma/swiotlb: Remove swiotlb_{alloc,free}_coherent()")
>
> These are now only used with CONFIG_DMA_DIRECT_OPS.
True. I'll send a fixup.
Powered by blists - more mailing lists