ixgbe: make ethtool strings table const
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>
This commit is contained in:
Родитель
68d6d4ab9a
Коммит
1bba2e81f5
|
@ -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)},
|
||||
|
|
Загрузка…
Ссылка в новой задаче