From: Bhumika Goyal <bhumirks@gmail.com>
To: julia.lawall@lip6.fr, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, jeffrey.t.kirsher@intel.com,
davem@davemloft.net
Cc: Bhumika Goyal <bhumirks@gmail.com>
Subject: [PATCH 0/2] drivers: net: add const to mii_phy_ops structures
Date: Thu, 8 Jun 2017 11:30:56 +0530 [thread overview]
Message-ID: <1496901658-6476-1-git-send-email-bhumirks@gmail.com> (raw)
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.
Bhumika Goyal (2):
drivers/net/sungem: add const to mii_phy_ops structures
drivers: net: emac: add const to mii_phy_ops structures
drivers/net/ethernet/ibm/emac/phy.c | 12 ++++++------
drivers/net/sungem_phy.c | 26 +++++++++++++-------------
2 files changed, 19 insertions(+), 19 deletions(-)
--
2.7.4
next reply other threads:[~2017-06-08 6:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-08 6:00 Bhumika Goyal [this message]
2017-06-08 6:00 ` [PATCH 1/2] drivers/net/sungem: add const to mii_phy_ops structures Bhumika Goyal
2017-06-08 6:00 ` [PATCH 2/2] drivers: net: emac: " Bhumika Goyal
2017-06-08 19:33 ` [PATCH 0/2] drivers: net: " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496901658-6476-1-git-send-email-bhumirks@gmail.com \
--to=bhumirks@gmail.com \
--cc=davem@davemloft.net \
--cc=jeffrey.t.kirsher@intel.com \
--cc=julia.lawall@lip6.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).