From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Ledford Subject: Re: [PATCH 0/3] constify infiniband pci_device_id. Date: Fri, 18 Aug 2017 12:03:12 -0400 Message-ID: <1503072192.2598.16.camel@redhat.com> References: <1500186646-28815-1-git-send-email-arvind.yadav.cs@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1500186646-28815-1-git-send-email-arvind.yadav.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arvind Yadav , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org, pv-drivers-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org, sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: linux-rdma@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 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 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