linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>, X86 ML <x86@kernel.org>,
	Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH] x86/PCI: ensure to_pci_sysdata usage is guarded by CONFIG_PCI
Date: Mon, 3 Feb 2020 22:49:33 +0100	[thread overview]
Message-ID: <CAHmME9p5WdixOFvwGXWynWazP6ZRPXBzK-6a9M1hcuEFGR3SKg@mail.gmail.com> (raw)
In-Reply-To: <20200203200942.GA130652@google.com>

On Mon, Feb 3, 2020 at 9:09 PM Bjorn Helgaas <helgaas@kernel.org> wrote:
> Another possibility would be to move the to_pci_sysdata() definition
> outside of #ifdef CONFIG_PCI, just as the struct pci_sysdata is.  Then
> we wouldn't have to change the availability of __pcibus_to_node().

Seems more reasonable. v2 coming your way momentarily.

  reply	other threads:[~2020-02-03 21:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03 18:19 [PATCH] x86/PCI: ensure to_pci_sysdata usage is guarded by CONFIG_PCI Jason A. Donenfeld
2020-02-03 20:09 ` Bjorn Helgaas
2020-02-03 21:49   ` Jason A. Donenfeld [this message]
2020-02-03 21:53   ` [PATCH v2] x86/PCI: ensure to_pci_sysdata usage is available to !CONFIG_PCI Jason A. Donenfeld
2020-02-03 23:17     ` Randy Dunlap
2020-02-04  6:06     ` Christoph Hellwig
2020-02-04 14:51     ` Bjorn Helgaas

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=CAHmME9p5WdixOFvwGXWynWazP6ZRPXBzK-6a9M1hcuEFGR3SKg@mail.gmail.com \
    --to=jason@zx2c4.com \
    --cc=hch@lst.de \
    --cc=helgaas@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    /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).