projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3993f2c
)
net: update comment for netif_dormant() function
author
Zhang Shengju
<zhangshengju@cmss.chinamobile.com>
Wed, 26 Apr 2017 03:05:12 +0000
(11:05 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 27 Apr 2017 20:23:17 +0000
(16:23 -0400)
This patch updates the comment for netif_dormant() function to reflect
the intended usage.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
patch
|
blob
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index
8c5c8cd
..
6847714
100644
(file)
--- a/
include/linux/netdevice.h
+++ b/
include/linux/netdevice.h
@@
-3408,10
+3408,10
@@
static inline void netif_dormant_off(struct net_device *dev)
}
/**
- * netif_dormant - test if
carrier prese
nt
+ * netif_dormant - test if
device is dorma
nt
* @dev: network device
*
- * Check if
carrier is present on device
+ * Check if
device is dormant.
*/
static inline bool netif_dormant(const struct net_device *dev)
{