Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752202AbdHJFnG (ORCPT ); Thu, 10 Aug 2017 01:43:06 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:51862 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbdHJFnF (ORCPT ); Thu, 10 Aug 2017 01:43:05 -0400 Date: Wed, 09 Aug 2017 22:43:04 -0700 (PDT) Message-Id: <20170809.224304.2036941071364761416.davem@davemloft.net> To: bhumirks@gmail.com Cc: julia.lawall@lip6.fr, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: dsa: make dsa_switch_ops const From: David Miller In-Reply-To: <1502255055-24751-1-git-send-email-bhumirks@gmail.com> References: <1502255055-24751-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:43:05 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 297 Lines: 10 From: Bhumika Goyal Date: Wed, 9 Aug 2017 10:34:15 +0530 > Make these structures const as they are only stored in the ops field of > a dsa_switch structure, which is const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Applied, thank you.