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

From: Doug Ledford
Date: Fri Aug 18 2017 - 12:03:18 EST


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 <linux/pci.h> 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_device_id.
> [PATCH 3/3] infiniband: pvrdma: constify pci_device_id.
>
> drivers/infiniband/hw/mthca/mthca_main.c | 2 +-
> drivers/infiniband/hw/nes/nes.c | 2 +-
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)

Thanks, series applied.

--
Doug Ledford <dledford@xxxxxxxxxx>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD