Messages in this thread | | | From | Arvind Yadav <> | Subject | [PATCH 0/3] constify scsi pci_device_id. | Date | Wed, 2 Aug 2017 22:59:02 +0530 |
| |
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
| |