mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: bhelgaas@google.com, scott@spiteful.org,
	linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org
Subject: Re: [PATCH 0/5] constify hotplug pci_device_id
Date: Thu, 3 Aug 2017 17:57:49 -0500	[thread overview]
Message-ID: <20170803225749.GP20308@bhelgaas-glaptop.roam.corp.google.com> (raw)
In-Reply-To: <1501780156-24708-1-git-send-email-arvind.yadav.cs@gmail.com>

On Thu, Aug 03, 2017 at 10:39:11PM +0530, Arvind Yadav wrote:
> pci_device_id are not supposed to change at runtime. All functions
> working with pci_device_id provided by <linux/pci.h> work with
> const pci_device_id. So mark the non-const structs as const.
> 
> Arvind Yadav (5):
>   [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id.
>   [PATCH 2/5] PCI: hotplug: ibmphp: constify pci_device_id.
>   [PATCH 3/5] PCI: hotplug: bmphp_ebda: constify pci_device_id.
>   [PATCH 4/5] PCI: hotplug: cpcihp_zt5550: constify pci_device_id.
>   [PATCH 5/5] PCI: hotplug: cpqphp: constify pci_device_id.
> 
>  drivers/pci/hotplug/cpcihp_zt5550.c | 2 +-
>  drivers/pci/hotplug/cpqphp_core.c   | 2 +-
>  drivers/pci/hotplug/ibmphp_core.c   | 2 +-
>  drivers/pci/hotplug/ibmphp_ebda.c   | 2 +-
>  drivers/pci/hotplug/shpchp_core.c   | 2 +-
>  5 files changed, 5 insertions(+), 5 deletions(-)

Applied to pci/hotplug for v4.14, thanks!

I squashed these all into one patch since they all do the same thing and
are so trivial.

  parent reply	other threads:[~2017-08-03 22:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 17:09 Arvind Yadav
2017-08-03 17:09 ` [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id Arvind Yadav
2017-08-03 17:09 ` [PATCH 2/5] PCI: hotplug: ibmphp: " Arvind Yadav
2017-08-03 17:09 ` [PATCH 3/5] PCI: hotplug: bmphp_ebda: " Arvind Yadav
2017-08-03 17:09 ` [PATCH 4/5] PCI: hotplug: cpcihp_zt5550: " Arvind Yadav
2017-08-03 17:09 ` [PATCH 5/5] PCI: hotplug: cpqphp: " Arvind Yadav
2017-08-03 22:57 ` Bjorn Helgaas [this message]
2017-08-03 23:22   ` [PATCH 0/5] constify hotplug pci_device_id 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=20170803225749.GP20308@bhelgaas-glaptop.roam.corp.google.com \
    --to=helgaas@kernel.org \
    --cc=arvind.yadav.cs@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=scott@spiteful.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

all inboxes | Powered by JetHome®