Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1715284
| From | Doug Ledford <dledford@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] constify infiniband pci_device_id. |
| Date | 2017-08-18 18:10 +0200 |
| Message-ID | <ufS0q-63B-3@gated-at.bofh.it> (permalink) |
| References | <u3LnH-3AE-5@gated-at.bofh.it> |
| Organization | Red Hat, Inc. |
On Sun, 2017-07-16 at 12:00 +0530, Arvind Yadav wrote:
> 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(-)
Thanks, series applied.
--
Doug Ledford <dledford@redhat.com>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 0/3] constify infiniband pci_device_id. Doug Ledford <dledford@redhat.com> - 2017-08-18 18:10 +0200
csiph-web