Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751263AbdHXFcO (ORCPT ); Thu, 24 Aug 2017 01:32:14 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:60684 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbdHXFcN (ORCPT ); Thu, 24 Aug 2017 01:32:13 -0400 Date: Wed, 23 Aug 2017 22:32:12 -0700 (PDT) Message-Id: <20170823.223212.2236765862347036476.davem@davemloft.net> To: arvind.yadav.cs@gmail.com Cc: Larry.Finger@lwfinger.net, chaoming_li@realsil.com.cn, kvalo@codeaurora.org, jon.maloy@ericsson.com, ying.xue@windriver.com, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 3/3 v3] net: tipc: constify genl_ops From: David Miller In-Reply-To: <1503485540-22113-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1503485540-22113-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 23 Aug 2017 22:32:13 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 343 Lines: 10 From: Arvind Yadav Date: Wed, 23 Aug 2017 16:22:20 +0530 > genl_ops are not supposed to change at runtime. All functions > working with genl_ops provided by work with > const genl_ops. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied.