Messages in this thread | | | Subject | Re: [PATCH] xen-platform: constify pci_device_id. | From | Boris Ostrovsky <> | Date | Wed, 2 Aug 2017 18:36:04 -0400 |
| |
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>
| |