Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751815AbdHBWgP (ORCPT ); Wed, 2 Aug 2017 18:36:15 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:46062 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751062AbdHBWgO (ORCPT ); Wed, 2 Aug 2017 18:36:14 -0400 Subject: Re: [PATCH] xen-platform: constify pci_device_id. To: Arvind Yadav , jgross@suse.com References: <800c45e978d192c0b485fd7b9429d892ff47dfc9.1501695851.git.arvind.yadav.cs@gmail.com> Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org From: Boris Ostrovsky Message-ID: Date: Wed, 2 Aug 2017 18:36:04 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <800c45e978d192c0b485fd7b9429d892ff47dfc9.1501695851.git.arvind.yadav.cs@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 361 Lines: 9 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 work with > const pci_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Reviewed-by: Boris Ostrovsky