Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753111AbdHQNDC convert rfc822-to-8bit (ORCPT ); Thu, 17 Aug 2017 09:03:02 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:34610 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752357AbdHQNDA (ORCPT ); Thu, 17 Aug 2017 09:03:00 -0400 Date: Thu, 17 Aug 2017 15:02:43 +0200 From: Boris Brezillon To: Arvind Yadav Cc: dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, richard@nod.at, cyrille.pitchen@wedev4u.fr, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] constify mtd pci_device_id Message-ID: <20170817150243.38d1db3f@bbrezillon> In-Reply-To: <1501777330-21380-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1501777330-21380-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1025 Lines: 30 Le Thu, 3 Aug 2017 21:52:04 +0530, Arvind Yadav a écrit : > 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. 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(-) >