Skip to contentSkip to conversation

net: Fix error in comment on net_device_ops::ndo_get_stats

PATCH Applied Ben Hutchings 2 participants 3 messages Jun 14, 2010 – Jun 15, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/linux/netdevice.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/netdevice.h +1 -1
index d85a38e..4164285 100644
@@ -671,7 +671,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.
Signature · 6 lines
1.6.2.5

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
maintainer Applied
#1 lore raw

From: Ben Hutchings <[email protected]>
Date: Mon, 14 Jun 2010 16:19:41 +0100

Quoted 4 lines

ndo_get_stats still returns struct net_device_stats *; there is no struct net_device_stats64.

Applied.

But, I am ignoring every single patch you submit from here on out that lacks a proper "net-2.6" or "net-next-2.6" destination tree indication in your Subject line.

I've asked this of you at least 3 times, and you seem content to just ignore my request. But that's OK, as I think you'll stop ignoring me when it starts causing patches you care about to be dropped.

Thanks :-)

#2 lore raw
Quoted 14 lines · David Miller

From: Ben Hutchings <[email protected]>
Date: Mon, 14 Jun 2010 16:19:41 +0100

Quoted 4 lines

ndo_get_stats still returns struct net_device_stats *; there is no struct net_device_stats64.

Applied.

But, I am ignoring every single patch you submit from here on out that lacks a proper "net-2.6" or "net-next-2.6" destination tree indication in your Subject line.

Quoted 5 lines

I've asked this of you at least 3 times, and you seem content to just ignore my request. But that's OK, as I think you'll stop ignoring me when it starts causing patches you care about to be dropped.

Thanks :-)

Sorry Dave, I thought net-next-2.6 was still the default and I only needed to make it more obvious when I wanted patches to go to net-2.6. I've added the suffix to my git configuration now.

Ben.

Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.