Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1703523

Re: [PATCH 0/5] constify hotplug pci_device_id

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/5] constify hotplug pci_device_id
Date 2017-08-04 01:30 +0200
Message-ID <uaxJ0-76G-25@gated-at.bofh.it> (permalink)
References <uarWW-37e-5@gated-at.bofh.it> <uaxfY-6D6-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 03, 2017 at 05:57:49PM -0500, Bjorn Helgaas wrote:
> 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 moved this to pci/misc along with the other constify patches.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] constify hotplug pci_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 19:20 +0200
  [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 19:20 +0200
  [PATCH 3/5] PCI: hotplug: bmphp_ebda: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 19:20 +0200
  Re: [PATCH 0/5] constify hotplug pci_device_id Bjorn Helgaas <helgaas@kernel.org> - 2017-08-04 01:00 +0200
    Re: [PATCH 0/5] constify hotplug pci_device_id Bjorn Helgaas <helgaas@kernel.org> - 2017-08-04 01:30 +0200

csiph-web