Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Mere overlapping changes in the conflicts here. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -26,7 +26,7 @@ struct igb_stats {
|
||||
|
||||
#define IGB_STAT(_name, _stat) { \
|
||||
.stat_string = _name, \
|
||||
.sizeof_stat = FIELD_SIZEOF(struct igb_adapter, _stat), \
|
||||
.sizeof_stat = sizeof_field(struct igb_adapter, _stat), \
|
||||
.stat_offset = offsetof(struct igb_adapter, _stat) \
|
||||
}
|
||||
static const struct igb_stats igb_gstrings_stats[] = {
|
||||
@@ -76,7 +76,7 @@ static const struct igb_stats igb_gstrings_stats[] = {
|
||||
|
||||
#define IGB_NETDEV_STAT(_net_stat) { \
|
||||
.stat_string = __stringify(_net_stat), \
|
||||
.sizeof_stat = FIELD_SIZEOF(struct rtnl_link_stats64, _net_stat), \
|
||||
.sizeof_stat = sizeof_field(struct rtnl_link_stats64, _net_stat), \
|
||||
.stat_offset = offsetof(struct rtnl_link_stats64, _net_stat) \
|
||||
}
|
||||
static const struct igb_stats igb_gstrings_net_stats[] = {
|
||||
|
Reference in New Issue
Block a user