Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: linux-pci@vger.kernel.org, Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH v2] PCI: Make saved capability state private to core
Date: Tue, 3 Aug 2021 12:59:56 -0600	[thread overview]
Message-ID: <20210803125956.2b0188f0.alex.williamson@redhat.com> (raw)
In-Reply-To: <20210802221728.1469304-1-helgaas@kernel.org>

On Mon,  2 Aug 2021 17:17:28 -0500
Bjorn Helgaas <helgaas@kernel.org> wrote:

> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> Interfaces and structs for saving and restoring PCI Capability state were
> declared in include/linux/pci.h, but aren't needed outside drivers/pci/.
> 
> Move these to drivers/pci/pci.h:
> 
>   struct pci_cap_saved_data
>   struct pci_cap_saved_state
>   void pci_allocate_cap_save_buffers()
>   void pci_free_cap_save_buffers()
>   int pci_add_cap_save_buffer()
>   int pci_add_ext_cap_save_buffer()
>   struct pci_cap_saved_state *pci_find_saved_cap()
>   struct pci_cap_saved_state *pci_find_saved_ext_cap()
> 
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
>  drivers/pci/pci.h   | 23 +++++++++++++++++++++--
>  include/linux/pci.h | 18 ------------------
>  2 files changed, 21 insertions(+), 20 deletions(-)

LGTM

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>


  reply	other threads:[~2021-08-03 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 22:17 [PATCH v2] PCI: Make saved capability state private to core Bjorn Helgaas
2021-08-03 18:59 ` Alex Williamson [this message]
2021-08-20 21:28 ` 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=20210803125956.2b0188f0.alex.williamson@redhat.com \
    --to=alex.williamson@redhat.com \
    --cc=bhelgaas@google.com \
    --cc=helgaas@kernel.org \
    --cc=linux-pci@vger.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