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


Groups > linux.kernel > #1713036 > unrolled thread

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

Started byBoris Ostrovsky <boris.ostrovsky@oracle.com>
First post2017-08-16 17:10 +0200
Last post2017-08-16 17: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] xen-platform: constify pci_device_id. Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-08-16 17:10 +0200

#1713036 — Re: [PATCH] xen-platform: constify pci_device_id.

FromBoris Ostrovsky <boris.ostrovsky@oracle.com>
Date2017-08-16 17:10 +0200
SubjectRe: [PATCH] xen-platform: constify pci_device_id.
Message-ID<uf87g-cZ-27@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web