mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] constify misc pci_device_id.
@ 2017-07-30  5:26 Arvind Yadav
  2017-07-30  5:26 ` [PATCH 1/4] misc: pch_phub: constify pci_device_id Arvind Yadav
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Arvind Yadav @ 2017-07-30  5:26 UTC (permalink / raw)
  To: arnd, gregkh, oakad; +Cc: linux-kernel

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 (4):
  [PATCH 1/4] misc: pch_phub: constify pci_device_id.
  [PATCH 2/4] misc: hpilo: constify pci_device_id.
  [PATCH 3/4] misc: tifm: constify pci_device_id.
  [PATCH 4/4] misc: ioc4: constify pci_device_id.

 drivers/misc/hpilo.c     | 2 +-
 drivers/misc/ioc4.c      | 2 +-
 drivers/misc/pch_phub.c  | 2 +-
 drivers/misc/tifm_7xx1.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-30  5:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-30  5:26 [PATCH 0/4] constify misc pci_device_id Arvind Yadav
2017-07-30  5:26 ` [PATCH 1/4] misc: pch_phub: constify pci_device_id Arvind Yadav
2017-07-30  5:26 ` [PATCH 2/4] misc: hpilo: " Arvind Yadav
2017-07-30  5:26 ` [PATCH 3/4] misc: tifm: " Arvind Yadav
2017-07-30  5:26 ` [PATCH 4/4] misc: ioc4: " Arvind Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®