From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752255AbdHJFoD (ORCPT ); Thu, 10 Aug 2017 01:44:03 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:51878 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750837AbdHJFoC (ORCPT ); Thu, 10 Aug 2017 01:44:02 -0400 Date: Wed, 09 Aug 2017 22:44:01 -0700 (PDT) Message-Id: <20170809.224401.279024579244491378.davem@davemloft.net> To: bhumirks@gmail.com Cc: julia.lawall@lip6.fr, 3chas3@gmail.com, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] atm: make atmdev_ops const From: David Miller In-Reply-To: <1502270355-4231-1-git-send-email-bhumirks@gmail.com> References: <1502270355-4231-1-git-send-email-bhumirks@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, 09 Aug 2017 22:44:02 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bhumika Goyal Date: Wed, 9 Aug 2017 14:49:15 +0530 > Make these structures const as they are either passed to the function > atm_dev_register having the corresponding argument as const or stored in > the ops field of a atm_dev structure, which is also const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Applied.