From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 933FBC47097 for ; Thu, 3 Jun 2021 16:26:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78127613AC for ; Thu, 3 Jun 2021 16:26:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbhFCQ20 (ORCPT ); Thu, 3 Jun 2021 12:28:26 -0400 Received: from foss.arm.com ([217.140.110.172]:45280 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbhFCQ20 (ORCPT ); Thu, 3 Jun 2021 12:28:26 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4A97411B3; Thu, 3 Jun 2021 09:26:41 -0700 (PDT) Received: from e123427-lin.arm.com (unknown [10.57.39.253]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 39ACD3F73D; Thu, 3 Jun 2021 09:26:39 -0700 (PDT) From: Lorenzo Pieralisi To: linux-pci@vger.kernel.org, Randy Dunlap Cc: Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Linus Walleij , Jiaxun Yang , kernel test robot , linux-mips@vger.kernel.org, Thomas Bogendoerfer Subject: Re: [PATCH v2] PCI: ftpci100: rename macro name collision Date: Thu, 3 Jun 2021 17:26:34 +0100 Message-Id: <162273757835.25424.5463028137806948110.b4-ty@arm.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20210517234117.3660-1-rdunlap@infradead.org> References: <20210517234117.3660-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Mon, 17 May 2021 16:41:17 -0700, Randy Dunlap wrote: > PCI_IOSIZE is defined in mach-loongson64/spaces.h, so change the name > of the PCI_* macros in pci-ftpci100.c to use FTPCI_* so that they are > more localized and won't conflict with other drivers or arches. > > ../drivers/pci/controller/pci-ftpci100.c:37: warning: "PCI_IOSIZE" redefined > 37 | #define PCI_IOSIZE 0x00 > | > In file included from ../arch/mips/include/asm/addrspace.h:13, > ... from ../drivers/pci/controller/pci-ftpci100.c:15: > arch/mips/include/asm/mach-loongson64/spaces.h:11: note: this is the location of the previous definition > 11 | #define PCI_IOSIZE SZ_16M Applied to pci/ftpci100, thanks! [1/1] PCI: ftpci100: rename macro name collision https://git.kernel.org/lpieralisi/pci/c/b1cb890637 Thanks, Lorenzo