Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1715284 > unrolled thread

Re: [PATCH 0/3] constify infiniband pci_device_id.

Started byDoug Ledford <dledford@redhat.com>
First post2017-08-18 18:10 +0200
Last post2017-08-18 18:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 0/3] constify infiniband pci_device_id. Doug Ledford <dledford@redhat.com> - 2017-08-18 18:10 +0200

#1715284 — Re: [PATCH 0/3] constify infiniband pci_device_id.

FromDoug Ledford <dledford@redhat.com>
Date2017-08-18 18:10 +0200
SubjectRe: [PATCH 0/3] constify infiniband pci_device_id.
Message-ID<ufS0q-63B-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web