Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751295AbdH1XRj (ORCPT ); Mon, 28 Aug 2017 19:17:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50466 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751242AbdH1XRi (ORCPT ); Mon, 28 Aug 2017 19:17:38 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8A47C4A71F Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dledford@redhat.com Message-ID: <1503962257.52034.10.camel@redhat.com> Subject: Re: [PATCH] IB/hfi1: constify vm_operations_struct From: Doug Ledford To: Arvind Yadav , mike.marciniszyn@intel.com, dennis.dalessandro@intel.com, sean.hefty@intel.com, hal.rosenstock@gmail.com Cc: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org Date: Mon, 28 Aug 2017 19:17:37 -0400 In-Reply-To: <8fa5bd3197b755de927ef5c3ae431e588a3a7d91.1503894254.git.arvind.yadav.cs@gmail.com> References: <8fa5bd3197b755de927ef5c3ae431e588a3a7d91.1503894254.git.arvind.yadav.cs@gmail.com> Organization: Red Hat, Inc. Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 28 Aug 2017 23:17:38 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 472 Lines: 13 On Mon, 2017-08-28 at 09:59 +0530, Arvind Yadav wrote: > vm_operations_struct are not supposed to change at runtime. > vm_area_struct structure working with const vm_operations_struct. > So mark the non-const vm_operations_struct structs as const. > > Signed-off-by: Arvind Yadav Thanks, applied. -- Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD