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


Groups > linux.kernel > #1702533

Re: [PATCH] xen-platform: constify pci_device_id.

From Boris Ostrovsky <boris.ostrovsky@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] xen-platform: constify pci_device_id.
Date 2017-08-03 00:40 +0200
Message-ID <uaat3-7J5-3@gated-at.bofh.it> (permalink)
References <ua5Wq-4AY-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/02/2017 01:46 PM, 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.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] xen-platform: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-02 19:50 +0200
  Re: [PATCH] xen-platform: constify pci_device_id. Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-08-03 00:40 +0200

csiph-web