From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
To: linux-pci@vger.kernel.org, Randy Dunlap <rdunlap@infradead.org>
Cc: "Lorenzo Pieralisi" <lorenzo.pieralisi@arm.com>,
"Krzysztof Wilczyński" <kw@linux.com>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"kernel test robot" <lkp@intel.com>,
linux-mips@vger.kernel.org,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>
Subject: Re: [PATCH v2] PCI: ftpci100: rename macro name collision
Date: Thu, 3 Jun 2021 17:26:34 +0100 [thread overview]
Message-ID: <162273757835.25424.5463028137806948110.b4-ty@arm.com> (raw)
In-Reply-To: <20210517234117.3660-1-rdunlap@infradead.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
prev parent reply other threads:[~2021-06-03 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 23:41 [PATCH v2] PCI: ftpci100: rename macro name collision Randy Dunlap
2021-05-17 23:57 ` Linus Walleij
2021-06-03 16:26 ` Lorenzo Pieralisi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162273757835.25424.5463028137806948110.b4-ty@arm.com \
--to=lorenzo.pieralisi@arm.com \
--cc=jiaxun.yang@flygoat.com \
--cc=kw@linux.com \
--cc=linus.walleij@linaro.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lkp@intel.com \
--cc=rdunlap@infradead.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).