Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbdHPPEu (ORCPT ); Wed, 16 Aug 2017 11:04:50 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:24018 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbdHPPEs (ORCPT ); Wed, 16 Aug 2017 11:04:48 -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: <88cc42a4-f5ed-cbf3-234d-669438426683@oracle.com> Date: Wed, 16 Aug 2017 11:04:36 -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: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 452 Lines: 13 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 work with >> const pci_device_id. So mark the non-const structs as const. >> >> Signed-off-by: Arvind Yadav > Reviewed-by: Boris Ostrovsky Applied to for-linus-4.14. -boris