[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1503072192.2598.16.camel@redhat.com>
Date: Fri, 18 Aug 2017 12:03:12 -0400
From: Doug Ledford <dledford@...hat.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>,
linux-kernel@...r.kernel.org, linux-rdma@...r.kernel.org,
aditr@...are.com, pv-drivers@...are.com, sean.hefty@...el.com,
hal.rosenstock@...il.com
Subject: Re: [PATCH 0/3] constify infiniband pci_device_id.
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@...hat.com>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Powered by blists - more mailing lists