lkml.org 
[lkml]   [2017]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 0/3] constify scsi 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] scsi: mptfusion: constify pci_device_id.
    [PATCH 2/3] scsi: mptfc: constify pci_device_id.
    [PATCH 3/3] scsi: mptsas: constify pci_device_id.

    drivers/message/fusion/mptfc.c | 2 +-
    drivers/message/fusion/mptsas.c | 2 +-
    drivers/message/fusion/mptspi.c | 2 +-
    3 files changed, 3 insertions(+), 3 deletions(-)

    --
    2.7.4

    \
     
     \ /
      Last update: 2017-08-02 19:30    [W:3.259 / U:0.996 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site