Re: [PATCH 0/5] constify hotplug pci_device_id

2017-08-03 Thread Bjorn Helgaas
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 work with > > const pci_device_id. So mark the non-const

Re: [PATCH 0/5] constify hotplug pci_device_id

2017-08-03 Thread Bjorn Helgaas
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 work with > const pci_device_id. So mark the non-const structs as const. > > Arvind Yadav (5): > [PATCH 1/5] PCI: hotplug: