Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702312
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/3] constify scsi pci_device_id. |
| Date | 2017-08-02 19:30 +0200 |
| Message-ID | <ua5D4-4rG-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/3] constify scsi pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-02 19:30 +0200 [PATCH 3/3] scsi: mptsas: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-02 19:30 +0200 [PATCH 1/3] scsi: mptfusion: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-02 19:30 +0200
csiph-web