From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751578AbdFHTdI (ORCPT ); Thu, 8 Jun 2017 15:33:08 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:35410 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751439AbdFHTdH (ORCPT ); Thu, 8 Jun 2017 15:33:07 -0400 Date: Thu, 08 Jun 2017 15:33:01 -0400 (EDT) Message-Id: <20170608.153301.772657076797049260.davem@davemloft.net> To: bhumirks@gmail.com Cc: julia.lawall@lip6.fr, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jeffrey.t.kirsher@intel.com Subject: Re: [PATCH 0/2] drivers: net: add const to mii_phy_ops structures From: David Miller In-Reply-To: <1496901658-6476-1-git-send-email-bhumirks@gmail.com> References: <1496901658-6476-1-git-send-email-bhumirks@gmail.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / 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]); Thu, 08 Jun 2017 11:51:27 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bhumika Goyal Date: Thu, 8 Jun 2017 11:30:56 +0530 > The object references of mii_phy_ops structures are only stored > in the ops field of a mii_phy_def structure. This ops field is of type > const. So, mii_phy_ops structures having similar properties can be > declared as const. Series applied, thanks.