Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1703294

[PATCH 0/5] constify hotplug pci_device_id

Path csiph.com!news.freedyn.net!open-news-network.org!aioe.org!bofh.it!news.nic.it!robomod
From Arvind Yadav <arvind.yadav.cs@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/5] constify hotplug pci_device_id
Date Thu, 03 Aug 2017 19:20:03 +0200
Message-ID <uarWW-37e-5@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=o2qvDuvI7vjW5nN4L3RS8vJYDgH/DTQFF6MeDzLeC0Q=; b=CkjemH5TW+X8mNoG4CZmDs8RL49lBTyiYNFvhA0CUsPAX08HyD7Oa3YDVIgmTYLa/8 q4LknxeUMvJnreq2ax+rSsq5WQClKYDHQuCmUKzYxxDKM+Hy/sd7xK5aGlZHwFJWS6qq H9tZz6OOsSYrWucowjehRSw5J2Gj4DbIgbYYVVuj5J8docuRUj8jzsPCOoYLIaRP1Qhx CVhBXKYcjAWpycQh4TfwIcmgep8RZw3l2qkc2wrLDFtU+KiY9742/uS8NO4hMV4zRAp7 pz+1LmXp7OGHuJmOX2KBvJuAiz+TLeGMIBnDAiL+28I+PXwB/1NnavYUdIeac9R6Y4xH Yxjg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=o2qvDuvI7vjW5nN4L3RS8vJYDgH/DTQFF6MeDzLeC0Q=; b=VP94lorCkn2JTHj0ljgH0iyqNyz/mejfspjLkGCvug2Mk0PKwFGghSlEnbcGH9jsow hGFQqG+4iIN5PVlxD4dUY283Ha3dDVz6z1eGJon0HbO+JDCV0FEdB6KrgTbMoJGR5G3u O9J0ygxaVUSUXLvuUDd3k3+OvQ1/IsLXj6d+vIeVlA5einRLsE/NCmafIJ03MiOb4lxX CYXICo13zUpiS+Iu9EfQSWlJGgw9WyuK2E2auIyX91nqLXJzky/YXFkeqKBDfwt8aYTJ eKi1Cl6H6gZTZ87z0iFLu2dtFwFu5rbrtYUXWHFIALssqMjUrhDQnvXD8Ik9l837+ukl 9qSw==
X-Gm-Message-State AIVw110yiYughhfGFMfUOLgttaO97qxytUrIKTyPFw2rlZwGw6DVGrlU Iu+VEt8WWjLwWA==
X-Received by 10.84.210.203 with SMTP id a69mr2630743pli.395.1501780202032; Thu, 03 Aug 2017 10:10:02 -0700 (PDT)
X-Mailer git-send-email 2.7.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org
X-Original-Date Thu, 3 Aug 2017 22:39:11 +0530
X-Original-Message-ID <1501780156-24708-1-git-send-email-arvind.yadav.cs@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1703294

Show key headers only | View raw


pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> 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(-)

-- 
2.7.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] constify hotplug pci_device_id Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 19:20 +0200
  [PATCH 1/5] PCI: hotplug: shpchp: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 19:20 +0200
  [PATCH 3/5] PCI: hotplug: bmphp_ebda: constify pci_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-03 19:20 +0200
  Re: [PATCH 0/5] constify hotplug pci_device_id Bjorn Helgaas <helgaas@kernel.org> - 2017-08-04 01:00 +0200
    Re: [PATCH 0/5] constify hotplug pci_device_id Bjorn Helgaas <helgaas@kernel.org> - 2017-08-04 01:30 +0200

csiph-web