archive mirror
 help / color / mirror / Atom feed
From: Lorenzo Pieralisi <>
To:, Randy Dunlap <>
Cc: "Lorenzo Pieralisi" <>,
	"Krzysztof Wilczyński" <>,
	"Linus Walleij" <>,
	"Jiaxun Yang" <>,
	"kernel test robot" <>,,
	"Thomas Bogendoerfer" <>
Subject: Re: [PATCH v2] PCI: ftpci100: rename macro name collision
Date: Thu,  3 Jun 2021 17:26:34 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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


      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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \

* 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).