From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH] dma-debug: fix ia64 build, use PHYS_PFN Date: Fri, 30 Sep 2016 23:21:21 +0530 Message-ID: <20160930175121.GX2467@localhost> References: <20160929195915.22963-1-niklas.soderlund+renesas@ragnatech.se> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20160929195915.22963-1-niklas.soderlund+renesas-1zkq55x86MTxsAP9Fp7wbw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Niklas =?iso-8859-1?Q?S=F6derlund?= Cc: linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Thu, Sep 29, 2016 at 09:59:15PM +0200, Niklas S=F6derlund wrote: > kbuild test robot reports: > = > lib/dma-debug.c: In function 'debug_dma_map_resource': > >> lib/dma-debug.c:1541:16: error: implicit declaration of function '__ph= ys_to_pfn' [-Werror=3Dimplicit-function-declaration] > entry->pfn =3D __phys_to_pfn(addr); > ^~~~~~~~~~~~~ > = > ia64 does not provide __phys_to_pfn(), use the PHYS_PFN() alias. Applied, thanks -- = ~Vinod From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com ([134.134.136.31]:19997 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932430AbcI3Rmq (ORCPT ); Fri, 30 Sep 2016 13:42:46 -0400 Date: Fri, 30 Sep 2016 23:21:21 +0530 From: Vinod Koul To: Niklas =?iso-8859-1?Q?S=F6derlund?= Cc: linux-renesas-soc@vger.kernel.org, dmaengine@vger.kernel.org, iommu@lists.linux-foundation.org, robin.murphy@arm.com, arnd@arndb.de Subject: Re: [PATCH] dma-debug: fix ia64 build, use PHYS_PFN Message-ID: <20160930175121.GX2467@localhost> References: <20160929195915.22963-1-niklas.soderlund+renesas@ragnatech.se> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160929195915.22963-1-niklas.soderlund+renesas@ragnatech.se> Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On Thu, Sep 29, 2016 at 09:59:15PM +0200, Niklas S�derlund wrote: > kbuild test robot reports: > > lib/dma-debug.c: In function 'debug_dma_map_resource': > >> lib/dma-debug.c:1541:16: error: implicit declaration of function '__phys_to_pfn' [-Werror=implicit-function-declaration] > entry->pfn = __phys_to_pfn(addr); > ^~~~~~~~~~~~~ > > ia64 does not provide __phys_to_pfn(), use the PHYS_PFN() alias. Applied, thanks -- ~Vinod