Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9ef4429b31b86d486b56b6c179fe52b5c7152f13
Commit:     9ef4429b31b86d486b56b6c179fe52b5c7152f13
Parent:     cd40b7d3983c708aabe3d3008ec64ffce56d33b0
Author:     Benjamin Thery <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 10 21:18:17 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 21:18:17 2007 -0700

    [NET]: Fix dev_put() and dev_hold() comments
    
    Trivial fix: Swap comments for dev_put() and dev_hold() to get them
    at the right place.
    Typo introduced by 4fa57c9ea9f36f9ca852f3a88ca5d2f1aebbc960.
    
    Signed-of-by: Benjamin Thery <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 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 4848c7a..5a11f88 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1064,7 +1064,7 @@ extern void netdev_run_todo(void);
  *     dev_put - release reference to device
  *     @dev: network device
  *
- * Hold reference to device to keep it from being freed.
+ * Release reference to device to allow it to be freed.
  */
 static inline void dev_put(struct net_device *dev)
 {
@@ -1075,7 +1075,7 @@ static inline void dev_put(struct net_device *dev)
  *     dev_hold - get reference to device
  *     @dev: network device
  *
- * Release reference to device to allow it to be freed.
+ * Hold reference to device to keep it from being freed.
  */
 static inline void dev_hold(struct net_device *dev)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to