lkml.org 
[lkml]   [2017]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/3] constify infiniband pci_device_id.
From
Date
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@redhat.com>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD

\
 
 \ /
  Last update: 2017-08-18 18:03    [W:0.049 / U:99.876 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site