Received: by 10.223.164.200 with SMTP id h8csp587797wrb; Sun, 5 Nov 2017 16:03:08 -0800 (PST) X-Google-Smtp-Source: ABhQp+Te+p3wbce5kNa8eMOKsDd0tI5B8MM8lHY/2/Cfdth7FkCNH9oi1NR0O1ZX8/r5TSmwDNVq X-Received: by 10.159.255.70 with SMTP id u6mr13125987pls.41.1509926588344; Sun, 05 Nov 2017 16:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509926588; cv=none; d=google.com; s=arc-20160816; b=wcBTdJ5tBKhshW+94vJ8/2fTffoChV8PiIvks0oKmtaYCEW4QhKwZP3wlaBITWR2I8 i+OtY3mlg8aL3iAE5sY2jIQ/SSIWbI1vFmAvtsA7jQ+ySCgzWtB0QRg3e+Vr18Qc8BcF 3E941wSGUBwhHX0YUxYZ0iUv5wsuELTjFCXgEpyakk+h4kk8p6GL0jiUkbV6i3WjKYTS mLvoCu5umpt0nTron0gw7F0FRuAhsX01yIGQTxXMe0s6mbHvH6Dd71ycb6JSuCAoHc5u 2l5Job8nWIEJo12b2b1fQI6YkWgrjVDR1C0LOjpFCSEUxkTA8YJFbUCA3HCG7qe4ddZQ EuFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=yD0WVZlhKQotBgyPxtgyzMxis+fYvcQW/9mL8WU27co=; b=O8DRgOt5j7FT296ei6DgU9QWv6wXgslIwRwUbLuSqqKGy3ahe3aqcRaIDJwYrW9ED+ nR8/4K+Ad9VjUxO+BuRRu/47GlyMROTiJuQdFXzjIILaFKxpbrUAdWuWTZtVYaJIFZGI MdXn9nU4j9vqHw6FM3hCqMY72fP4objPxofk6BEMqr+ZxO7jttr4YY9nOLfaZ/zdYq1L dnvMRBPB9dir8RRbGKG2u89Can6lYwGhchUfu7rZwWm7djoUu2OhsAx3vGrhfhZ/dpQv FIMJaPdNL7b4Nd4T3rDrcwk5nrP8J+56w2W7ZUaVyXIogXC4rnjUIVDBkKjvAAvTnoRH fNeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a91si9147396pla.788.2017.11.05.16.02.23; Sun, 05 Nov 2017 16:03:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750928AbdKFAAi (ORCPT + 96 others); Sun, 5 Nov 2017 19:00:38 -0500 Received: from mga03.intel.com ([134.134.136.65]:9038 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750724AbdKFAAh (ORCPT ); Sun, 5 Nov 2017 19:00:37 -0500 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2017 16:00:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,350,1505804400"; d="scan'208";a="146251006" Received: from tolun-mobl.ger.corp.intel.com (HELO zurbaran.ger.intel.com) ([10.252.50.55]) by orsmga004.jf.intel.com with ESMTP; 05 Nov 2017 16:00:34 -0800 Date: Mon, 6 Nov 2017 01:00:32 +0100 From: Samuel Ortiz To: Arvind Yadav Cc: clement.perrochaud@effinnov.com, charles.gorand@effinnov.com, r.baldyga@samsung.com, k.opasiak@samsung.com, davem@davemloft.net, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH 0/8] constify nfc i2c_device_id Message-ID: <20171106000032.GB27831@zurbaran.ger.intel.com> References: <1503335040-27101-1-git-send-email-arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503335040-27101-1-git-send-email-arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arvind, On Mon, Aug 21, 2017 at 10:33:52PM +0530, Arvind Yadav wrote: > i2c_device_id are not supposed to change at runtime. All functions > working with i2c_device_id provided by work with > const i2c_device_id. So mark the non-const structs as const. > > Arvind Yadav (8): > [PATCH 1/8] nfc: microread: constify i2c_device_id > [PATCH 2/8] nfc: nfcmrvl: constify i2c_device_id > [PATCH 3/8] nfc: nxp-nci: constify i2c_device_id > [PATCH 4/8] nfc: pn533: constify i2c_device_id > [PATCH 5/8] nfc: pn544: constify i2c_device_id > [PATCH 6/8] nfc: s3fwrn5: constify i2c_device_id > [PATCH 7/8] nfc: st-nci: constify i2c_device_id > [PATCH 8/8] nfc: st21nfca: constify i2c_device_id All 8 patches applied, thanks. Cheers, Samuel. From 1576361141849228748@xxx Mon Aug 21 17:05:34 +0000 2017 X-GM-THRID: 1576361141849228748 X-Gmail-Labels: Inbox,Category Forums