* [net-next] net: update comment for netif_dormant() function
@ 2017-04-26 3:05 Zhang Shengju
2017-04-27 20:23 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Shengju @ 2017-04-26 3:05 UTC (permalink / raw)
To: netdev, davem
This patch updates the comment for netif_dormant() function to reflect
the intended usage.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
---
include/linux/netdevice.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 5d5267f..b8c8e5b 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3400,10 +3400,10 @@ static inline void netif_dormant_off(struct net_device *dev)
}
/**
- * netif_dormant - test if carrier present
+ * netif_dormant - test if device is dormant
* @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)
{
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [net-next] net: update comment for netif_dormant() function
2017-04-26 3:05 [net-next] net: update comment for netif_dormant() function Zhang Shengju
@ 2017-04-27 20:23 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-04-27 20:23 UTC (permalink / raw)
To: zhangshengju; +Cc: netdev
From: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Date: Wed, 26 Apr 2017 11:05:12 +0800
> This patch updates the comment for netif_dormant() function to reflect
> the intended usage.
>
> Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-27 20:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-26 3:05 [net-next] net: update comment for netif_dormant() function Zhang Shengju
2017-04-27 20:23 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).