Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753198AbcLLUVQ (ORCPT ); Mon, 12 Dec 2016 15:21:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33484 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752559AbcLLUVP (ORCPT ); Mon, 12 Dec 2016 15:21:15 -0500 Subject: Re: [PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure To: Bhumika Goyal , julia.lawall@lip6.fr, mike.marciniszyn@intel.com, dennis.dalessandro@intel.com, sean.hefty@intel.com, hal.rosenstock@gmail.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org References: <1479548868-13563-1-git-send-email-bhumirks@gmail.com> From: Doug Ledford Message-ID: <82309d76-7597-bb08-fd38-6b7771f82129@redhat.com> Date: Mon, 12 Dec 2016 15:21:06 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <1479548868-13563-1-git-send-email-bhumirks@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QhJfIp08i5owhQo52Ffa8S2vvtbswIEXF" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 12 Dec 2016 20:21:14 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2428 Lines: 59 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QhJfIp08i5owhQo52Ffa8S2vvtbswIEXF Content-Type: multipart/mixed; boundary="KJ30HCC9axDmqrRiQwhSeRrkCMUC6roIM"; protected-headers="v1" From: Doug Ledford To: Bhumika Goyal , julia.lawall@lip6.fr, mike.marciniszyn@intel.com, dennis.dalessandro@intel.com, sean.hefty@intel.com, hal.rosenstock@gmail.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <82309d76-7597-bb08-fd38-6b7771f82129@redhat.com> Subject: Re: [PATCH] infiniband: hw: hfi1: constify mmu_notifier_ops structure References: <1479548868-13563-1-git-send-email-bhumirks@gmail.com> In-Reply-To: <1479548868-13563-1-git-send-email-bhumirks@gmail.com> --KJ30HCC9axDmqrRiQwhSeRrkCMUC6roIM Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 11/19/2016 4:47 AM, Bhumika Goyal wrote: > Declare the structure mmu_notifier_ops as const as it is only stored in= > the ops field of a mmu_notifier structure. The ops field is of type > const struct mmu_notifier_ops *, so mmu_notifier_ops structures having > this property can be declared as const. Thanks, applied. --=20 Doug Ledford GPG Key ID: 0E572FDD --KJ30HCC9axDmqrRiQwhSeRrkCMUC6roIM-- --QhJfIp08i5owhQo52Ffa8S2vvtbswIEXF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJYTwayAAoJELgmozMOVy/dvbwP/R42lcsCzjYLZdzn2cjhuHiz E9Uxry0NfmjX+9fju8hSWyMgF+RIY+2NKq/8wB7BE5gUquMc3eaaerrHOaq2A5k/ 9nO7JE0gjHgT5fGsnF3d+iPQtDUpORu3GqHjnGLuLfhcFBcVIouLvg8v/pi6iRs6 fwjenlMk9xlfmGzhJFbc62OcUGWQ+4zbLZuBZqt8uOjtsTUwiiwiBBnQ1zS5a2Bz FJKjDHWsXGLihbe2EbIMM6feWzbXYZHOOQq+Xmi/sB36LqUYhx4cDhsuBGck9c8r 2O4FsaTJpGc48ySPupHy99CpE5zzO6tlnD8aECME+QozTlHOWQ7K4tjRDGfdUSeJ 1/4FoIP802WlTaMIqe39jn3E4cYhri86gR/vv6EPa8uyW3gIhXC3dfDczoOCzX3M Espr3k/3zK3bDJBtGwE/icxiJEgq3jXfCa1Cp1pF3n9K16c8B9ZTE1rYJY9GN+3h YrJJHoukcieTqiVZOfGtlZxOxE/bvPMOd4mlTb4W6oM0ete598IBEAbK2smcnKL3 oeNyNBxZfHQqt+DvnLVbQrSNiym5vJSF6C4HpfCvTBUNHFEk9MlUeMWo+LiHUpHR T3/jRG9lLLhZzVyuKKtoIiBjh+GBSeI0Lhm7PrQlzgoDvfW3iZjxrZn1wV9f2urt BBZHUbgnQkfwa11mzjqJ =nLfl -----END PGP SIGNATURE----- --QhJfIp08i5owhQo52Ffa8S2vvtbswIEXF--