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


Groups > linux.kernel > #1714007 > unrolled thread

Re: [PATCH 0/6] constify mtd pci_device_id

Started byBoris Brezillon <boris.brezillon@free-electrons.com>
First post2017-08-17 15:10 +0200
Last post2017-08-17 15:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 0/6] constify mtd pci_device_id Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-08-17 15:10 +0200

#1714007 — Re: [PATCH 0/6] constify mtd pci_device_id

FromBoris Brezillon <boris.brezillon@free-electrons.com>
Date2017-08-17 15:10 +0200
SubjectRe: [PATCH 0/6] constify mtd pci_device_id
Message-ID<ufsIH-5i2-43@gated-at.bofh.it>
Le Thu,  3 Aug 2017 21:52:04 +0530,
Arvind Yadav <arvind.yadav.cs@gmail.com> a écrit :

> 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.

Applied the whole series to l2-mtd/master.

Thanks,

Boris

> 
> Arvind Yadav (6):
>   [PATCH 1/6] mtd: maps: ichxrom: constify pci_device_id.
>   [PATCH 2/6] mtd: amd76xrom: constify pci_device_id.
>   [PATCH 3/6] mtd: esb2rom: constify pci_device_id.
>   [PATCH 4/6] mtd: ck804xrom: constify pci_device_id.
>   [PATCH 5/6] mtd: intel_vr_nor: constify pci_device_id.
>   [PATCH 6/6] mtd: pci: constify pci_device_id.
> 
>  drivers/mtd/maps/amd76xrom.c    | 4 ++--
>  drivers/mtd/maps/ck804xrom.c    | 4 ++--
>  drivers/mtd/maps/esb2rom.c      | 4 ++--
>  drivers/mtd/maps/ichxrom.c      | 4 ++--
>  drivers/mtd/maps/intel_vr_nor.c | 2 +-
>  drivers/mtd/maps/pci.c          | 2 +-
>  6 files changed, 10 insertions(+), 10 deletions(-)
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web