[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <88cc42a4-f5ed-cbf3-234d-669438426683@oracle.com>
Date: Wed, 16 Aug 2017 11:04:36 -0400
From: Boris Ostrovsky <boris.ostrovsky@...cle.com>
To: Arvind Yadav <arvind.yadav.cs@...il.com>, jgross@...e.com
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xen-platform: constify pci_device_id.
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@...il.com>
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
Applied to for-linus-4.14.
-boris
Powered by blists - more mailing lists