lkml.org 
[lkml]   [2017]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] constify infiniband pci_device_id.
Date
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(-)

--
2.7.4

\
 
 \ /
  Last update: 2017-07-16 08:31    [W:0.040 / U:0.040 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site