Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751488AbdH3NzN (ORCPT ); Wed, 30 Aug 2017 09:55:13 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:43623 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbdH3Nyz (ORCPT ); Wed, 30 Aug 2017 09:54:55 -0400 Subject: Re: [PATCH] RDS: constify rhashtable_params To: Arvind Yadav , davem@davemloft.net Cc: linux-kernel@vger.kernel.org, rds-devel@oss.oracle.com, linux-rdma@vger.kernel.org, netdev@vger.kernel.org References: <3cdaecc7c8080b0f2172d8788b96303528957b08.1504093495.git.arvind.yadav.cs@gmail.com> From: "santosh.shilimkar@oracle.com" Organization: Oracle Corporation Message-ID: Date: Wed, 30 Aug 2017 06:54:43 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <3cdaecc7c8080b0f2172d8788b96303528957b08.1504093495.git.arvind.yadav.cs@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 414 Lines: 14 On 8/30/17 4:49 AM, Arvind Yadav wrote: > rhashtable_params are not supposed to change at runtime. All > Functions rhashtable_* working with const rhashtable_params > provided by . So mark the non-const structs > as const. > > Signed-off-by: Arvind Yadav > --- This is already addressed in net-next by [1] Regards, Santosh [1] https://lkml.org/lkml/2017/8/25/482