Re: [PATCH 0/3] constify infiniband pci_device_id.

2017-08-18 Thread Doug Ledford
On Sun, 2017-07-16 at 12:00 +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 (3): > [PATCH 1/3] infiniband: mthca: co

[PATCH 0/3] constify infiniband pci_device_id.

2017-07-15 Thread Arvind Yadav
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 (3): [PATCH 1/3] infiniband: mthca: constify pci_device_id. [PATCH 2/3] infiniband: nes: constify pci_d