From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751758AbeCWIbg (ORCPT ); Fri, 23 Mar 2018 04:31:36 -0400 Received: from verein.lst.de ([213.95.11.211]:50802 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221AbeCWIbf (ORCPT ); Fri, 23 Mar 2018 04:31:35 -0400 Date: Fri, 23 Mar 2018 09:31:34 +0100 From: Christoph Hellwig To: Stephen Rothwell Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Linux-Next Mailing List , Linux Kernel Mailing List , Christoph Hellwig Subject: Re: linux-next: build warning after merge of the tip tree Message-ID: <20180323083134.GB23865@lst.de> References: <20180323132853.67195c47@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180323132853.67195c47@canb.auug.org.au> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.