From: Ben Hutchings Date: Tue, 15 Jun 2010 22:08:48 +0000 (-0700) Subject: net: Fix error in comment on net_device_ops::ndo_get_stats X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=82695d9b186dcefe9bd119b53521deec20858f19;p=openwrt%2Fstaging%2Fblogic.git net: Fix error in comment on net_device_ops::ndo_get_stats ndo_get_stats still returns struct net_device_stats *; there is no struct net_device_stats64. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index a7e0458029b5..398f6c28cf8a 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -673,7 +673,7 @@ struct netdev_rx_queue { * 1. Define @ndo_get_stats64 to update a rtnl_link_stats64 structure * (which should normally be dev->stats64) and return a ponter to * it. The structure must not be changed asynchronously. - * 2. Define @ndo_get_stats to update a net_device_stats64 structure + * 2. Define @ndo_get_stats to update a net_device_stats structure * (which should normally be dev->stats) and return a pointer to * it. The structure may be changed asynchronously only if each * field is written atomically.