Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752392AbdHCXWp (ORCPT ); Thu, 3 Aug 2017 19:22:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:52384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbdHCXWm (ORCPT ); Thu, 3 Aug 2017 19:22:42 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0090122C96 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Thu, 3 Aug 2017 18:22:40 -0500 From: Bjorn Helgaas To: Arvind Yadav Cc: bhelgaas@google.com, scott@spiteful.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 0/5] constify hotplug pci_device_id Message-ID: <20170803232240.GV20308@bhelgaas-glaptop.roam.corp.google.com> References: <1501780156-24708-1-git-send-email-arvind.yadav.cs@gmail.com> <20170803225749.GP20308@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170803225749.GP20308@bhelgaas-glaptop.roam.corp.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1099 Lines: 23 On Thu, Aug 03, 2017 at 05:57:49PM -0500, Bjorn Helgaas wrote: > On Thu, Aug 03, 2017 at 10:39:11PM +0530, 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. > > > > Arvind Yadav (5): > > [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id. > > [PATCH 2/5] PCI: hotplug: ibmphp: constify pci_device_id. > > [PATCH 3/5] PCI: hotplug: bmphp_ebda: constify pci_device_id. > > [PATCH 4/5] PCI: hotplug: cpcihp_zt5550: constify pci_device_id. > > [PATCH 5/5] PCI: hotplug: cpqphp: constify pci_device_id. > > > > drivers/pci/hotplug/cpcihp_zt5550.c | 2 +- > > drivers/pci/hotplug/cpqphp_core.c | 2 +- > > drivers/pci/hotplug/ibmphp_core.c | 2 +- > > drivers/pci/hotplug/ibmphp_ebda.c | 2 +- > > drivers/pci/hotplug/shpchp_core.c | 2 +- > > 5 files changed, 5 insertions(+), 5 deletions(-) > > Applied to pci/hotplug for v4.14, thanks! I moved this to pci/misc along with the other constify patches.