netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: davem@davemloft.net
Cc: Stephen Hemminger <shemminger@vyatta.com>,
	netdev@vger.kernel.org, gospo@redhat.com, sassmann@redhat.com,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Subject: [net-next 3/7] ixgbe: make ethtool strings table const
Date: Fri,  3 Feb 2012 03:14:59 -0800	[thread overview]
Message-ID: <1328267703-9638-4-git-send-email-jeffrey.t.kirsher@intel.com> (raw)
In-Reply-To: <1328267703-9638-1-git-send-email-jeffrey.t.kirsher@intel.com>

From: Stephen Hemminger <shemminger@vyatta.com>

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
index 1fd510c..1f31a04 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
@@ -58,7 +58,7 @@ struct ixgbe_stats {
 				sizeof(((struct rtnl_link_stats64 *)0)->m), \
 				offsetof(struct rtnl_link_stats64, m)
 
-static struct ixgbe_stats ixgbe_gstrings_stats[] = {
+static const struct ixgbe_stats ixgbe_gstrings_stats[] = {
 	{"rx_packets", IXGBE_NETDEV_STAT(rx_packets)},
 	{"tx_packets", IXGBE_NETDEV_STAT(tx_packets)},
 	{"rx_bytes", IXGBE_NETDEV_STAT(rx_bytes)},
-- 
1.7.7.6

  parent reply	other threads:[~2012-02-03 11:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 11:14 [net-next v2 0/7][pull request] Intel Wired LAN Driver Update Jeff Kirsher
2012-02-03 11:14 ` [net-next 1/7] ixgbe: update copyright to 2012 Jeff Kirsher
2012-02-03 11:14 ` [net-next 2/7] ixgbe: Add warning when no space left for more MAC filters Jeff Kirsher
2012-02-03 11:14 ` Jeff Kirsher [this message]
2012-02-03 11:15 ` [net-next 4/7] ixgbevf: Fix mailbox interrupt ack bug Jeff Kirsher
2012-02-03 11:15 ` [net-next 5/7] ixgbevf: Update copyright notices Jeff Kirsher
2012-02-03 11:15 ` [net-next 6/7] igbvf: change copyright date Jeff Kirsher
2012-02-03 11:15 ` [net-next 7/7] ixgbe: Fix typo in ixgbe_common.h Jeff Kirsher
2012-02-04 20:54 ` [net-next v2 0/7][pull request] Intel Wired LAN Driver Update David Miller
2012-02-07  7:30   ` Jeff Kirsher

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=1328267703-9638-4-git-send-email-jeffrey.t.kirsher@intel.com \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=davem@davemloft.net \
    --cc=gospo@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=sassmann@redhat.com \
    --cc=shemminger@vyatta.com \
    /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).