summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-03-21 16:31:14 +0000
committerDavid S. Miller <davem@davemloft.net>2016-03-21 13:28:31 -0400
commited49e650371008b0e00c8004cc2ca93055740f78 (patch)
tree695606e3ce9ac91e2d39f7c6b0f6d407fb800cc8
parent227f33beab746aeec4ef3305bd17b1d374df09e7 (diff)
downloadlinux-ed49e650371008b0e00c8004cc2ca93055740f78.tar.bz2
net: add description for len argument of dev_get_phys_port_name
When the function dev_get_phys_port_name was added it missed a description for it's len argument. Adding it. Fixes: db24a9044ee1 ("net: add support for phys_port_name") Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 43c74cad25bc..b9bcbe77d913 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -6445,6 +6445,7 @@ EXPORT_SYMBOL(dev_get_phys_port_id);
* dev_get_phys_port_name - Get device physical port name
* @dev: device
* @name: port name
+ * @len: limit of bytes to copy to name
*
* Get device physical port name
*/