[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adasl5bkfyx.fsf_-_@cisco.com>
Date: Tue, 18 Sep 2007 11:04:22 -0700
From: Roland Dreier <rdreier@...co.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, general@...ts.openfabrics.org
Subject: [PATCH net-2.6.24] Fix documentation for dev_put()/dev_hold()
It looks like the comments for dev_put() and dev_hold() got reversed somehow.
Signed-off-by: Roland Dreier <rolandd@...co.com>
---
include/linux/netdevice.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index be5fe05..239ae68 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1030,7 +1030,7 @@ extern int netdev_budget;
extern void netdev_run_todo(void);
/**
- * dev_put - get reference to device
+ * dev_put - release reference to device
* @dev: network device
*
* Hold reference to device to keep it from being freed.
@@ -1041,7 +1041,7 @@ static inline void dev_put(struct net_device *dev)
}
/**
- * dev_hold - release reference to device
+ * dev_hold - get reference to device
* @dev: network device
*
* Release reference to device to allow it to be freed.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists