Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932683AbbHYUIA (ORCPT ); Tue, 25 Aug 2015 16:08:00 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:35884 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932393AbbHYUH7 (ORCPT ); Tue, 25 Aug 2015 16:07:59 -0400 Date: Tue, 25 Aug 2015 13:07:56 -0700 From: Guenter Roeck To: Chris Zankel , Max Filippov Cc: Christoph Hellwig , Andrew Morton , linux-xtensa@linux-xtensa.org, linux-kernel@vger.kernel.org Subject: xtensa build failures in -next due to DMA API changes Message-ID: <20150825200756.GA25409@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1272 Lines: 33 Hi, xtensa builds fail in -next (again) as follows. In file included from include/linux/dma-mapping.h:86:0, from include/asm-generic/pci-dma-compat.h:7, from ./arch/xtensa/include/asm/pci.h:59, from include/linux/pci.h:1492, from arch/xtensa/kernel/platform.c:16: ./arch/xtensa/include/asm/dma-mapping.h:40:21: error: redefinition of ‘dma_alloc_attrs’ In file included from ./arch/xtensa/include/asm/dma-mapping.h:33:0, from include/linux/dma-mapping.h:86, from include/asm-generic/pci-dma-compat.h:7, from ./arch/xtensa/include/asm/pci.h:59, from include/linux/pci.h:1492, from arch/xtensa/kernel/platform.c:16: include/asm-generic/dma-mapping-common.h:245:21: note: previous definition of ‘dma_alloc_attrs’ was here and many similar errors; it looks like all dma attribute functions have been redefined. The problem seems to have been introduced with changes made by Christoph Hellwig, coming in through Andrew's tree. Copying them here for comments. Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/