Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751245AbdGPGbH (ORCPT ); Sun, 16 Jul 2017 02:31:07 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34489 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087AbdGPGbF (ORCPT ); Sun, 16 Jul 2017 02:31:05 -0400 From: Arvind Yadav To: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, aditr@vmware.com, pv-drivers@vmware.com, sean.hefty@intel.com, dledford@redhat.com, hal.rosenstock@gmail.com Subject: [PATCH 0/3] constify infiniband pci_device_id. Date: Sun, 16 Jul 2017 12:00:43 +0530 Message-Id: <1500186646-28815-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 607 Lines: 16 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(-) -- 2.7.4