Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751322AbdH1XSJ (ORCPT ); Mon, 28 Aug 2017 19:18:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50948 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751218AbdH1XSH (ORCPT ); Mon, 28 Aug 2017 19:18:07 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8BDDC4A6E8 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: <1503962286.52034.11.camel@redhat.com> Subject: Re: [PATCH] IB/rxe: constify vm_operations_struct From: Doug Ledford To: Arvind Yadav , monis@mellanox.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:18:06 -0400 In-Reply-To: <86676f86a57d743545a0ff0ba477902ed676aa6b.1503894343.git.arvind.yadav.cs@gmail.com> References: <86676f86a57d743545a0ff0ba477902ed676aa6b.1503894343.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:18:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 551 Lines: 14 On Mon, 2017-08-28 at 10:00 +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 Sorry, this bug had already been fixed by a previous patch. Thanks for your submission though. -- Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD