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


Groups > linux.kernel > #1713036

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-16 17:10 +0200
Message-ID <uf87g-cZ-27@gated-at.bofh.it> (permalink)
References <ua5Wq-4AY-21@gated-at.bofh.it> <uaat3-7J5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/02/2017 06:36 PM, Boris Ostrovsky wrote:
> 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>


Applied to for-linus-4.14.

-boris

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] xen-platform: constify pci_device_id. Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-08-16 17:10 +0200

csiph-web