From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933034AbbHYUPh (ORCPT ); Tue, 25 Aug 2015 16:15:37 -0400 Received: from verein.lst.de ([213.95.11.211]:37298 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932103AbbHYUPe (ORCPT ); Tue, 25 Aug 2015 16:15:34 -0400 Date: Tue, 25 Aug 2015 22:15:32 +0200 From: Christoph Hellwig To: Guenter Roeck Cc: Chris Zankel , Max Filippov , Christoph Hellwig , Andrew Morton , linux-xtensa@linux-xtensa.org, linux-kernel@vger.kernel.org Subject: Re: xtensa build failures in -next due to DMA API changes Message-ID: <20150825201532.GA24940@lst.de> References: <20150825200756.GA25409@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150825200756.GA25409@roeck-us.net> 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 Hi Guenter, > The problem seems to have been introduced with changes made by Christoph > Hellwig, coming in through Andrew's tree. Copying them here for comments. xtensa doesn't use the generic dma map implementation, so it shouldn't include dma-mapping-common.h anywhere, and in my tree it doesn't. Can you do a git-grep for dma-mapping-common.h on the tree that you see this error on? Nothing but arch/*/include/asm/dma-mapping.h should include it. In my tree it's all fine: Documentation/DMA-API-HOWTO.txt: can use include/linux/asm-generic/dma-mapping-common.h. It's a arch/alpha/include/asm/dma-mapping.h:#include arch/arm/include/asm/dma-mapping.h:#include arch/arm64/include/asm/dma-mapping.h:#include arch/h8300/include/asm/dma-mapping.h:#include arch/hexagon/include/asm/dma-mapping.h:#include arch/ia64/include/asm/dma-mapping.h:#include arch/microblaze/include/asm/dma-mapping.h:#include arch/mips/include/asm/dma-mapping.h:#include arch/openrisc/include/asm/dma-mapping.h:#include arch/powerpc/include/asm/dma-mapping.h:#include arch/s390/include/asm/dma-mapping.h:#include arch/sh/include/asm/dma-mapping.h:#include arch/sparc/include/asm/dma-mapping.h:#include arch/tile/include/asm/dma-mapping.h:#include arch/unicore32/include/asm/dma-mapping.h:#include arch/x86/include/asm/dma-mapping.h:#include