Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1703249
| From | Arvind Yadav <arvind.yadav.cs@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/6] constify mtd pci_device_id |
| Date | 2017-08-03 18:30 +0200 |
| Message-ID | <uarax-2uN-3@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 (6): [PATCH 1/6] mtd: maps: ichxrom: constify pci_device_id. [PATCH 2/6] mtd: amd76xrom: constify pci_device_id. [PATCH 3/6] mtd: esb2rom: constify pci_device_id. [PATCH 4/6] mtd: ck804xrom: constify pci_device_id. [PATCH 5/6] mtd: intel_vr_nor: constify pci_device_id. [PATCH 6/6] mtd: pci: constify pci_device_id. drivers/mtd/maps/amd76xrom.c | 4 ++-- drivers/mtd/maps/ck804xrom.c | 4 ++-- drivers/mtd/maps/esb2rom.c | 4 ++-- drivers/mtd/maps/ichxrom.c | 4 ++-- drivers/mtd/maps/intel_vr_nor.c | 2 +- drivers/mtd/maps/pci.c | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) -- 2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/6] constify mtd pci_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 18:30 +0200 [PATCH 2/6] mtd: amd76xrom: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 18:30 +0200 [PATCH 4/6] mtd: ck804xrom: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 18:30 +0200 [PATCH 1/6] mtd: ichxrom: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 18:30 +0200 [PATCH 3/6] mtd: esb2rom: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 18:30 +0200
csiph-web