linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] constify hotplug pci_device_id
@ 2017-08-03 17:09 Arvind Yadav
  2017-08-03 17:09 ` [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id Arvind Yadav
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Arvind Yadav @ 2017-08-03 17:09 UTC (permalink / raw)
  To: bhelgaas, scott; +Cc: linux-kernel, linux-pci

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(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-03 23:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 17:09 [PATCH 0/5] constify hotplug pci_device_id 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 ` [PATCH 0/5] constify hotplug pci_device_id Bjorn Helgaas
2017-08-03 23:22   ` Bjorn Helgaas

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