Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752175AbdHRQDP (ORCPT ); Fri, 18 Aug 2017 12:03:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46508 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbdHRQDO (ORCPT ); Fri, 18 Aug 2017 12:03:14 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 253F67487D Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dledford@redhat.com Message-ID: <1503072192.2598.16.camel@redhat.com> Subject: Re: [PATCH 0/3] constify infiniband pci_device_id. From: Doug Ledford To: Arvind Yadav , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, aditr@vmware.com, pv-drivers@vmware.com, sean.hefty@intel.com, hal.rosenstock@gmail.com Date: Fri, 18 Aug 2017 12:03:12 -0400 In-Reply-To: <1500186646-28815-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1500186646-28815-1-git-send-email-arvind.yadav.cs@gmail.com> Organization: Red Hat, Inc. Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 18 Aug 2017 16:03:14 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 21 On Sun, 2017-07-16 at 12:00 +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 (3): > [PATCH 1/3] infiniband: mthca: constify pci_device_id. > [PATCH 2/3] infiniband: nes: constify pci_device_id. > [PATCH 3/3] infiniband: pvrdma: constify pci_device_id. > > drivers/infiniband/hw/mthca/mthca_main.c | 2 +- > drivers/infiniband/hw/nes/nes.c | 2 +- > drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Thanks, series applied. -- Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD