summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-03-21 17:31:14 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-21 18:28:31 +0100
commited49e650371008b0e00c8004cc2ca93055740f78 (patch)
tree695606e3ce9ac91e2d39f7c6b0f6d407fb800cc8 /net
parentmdio-sun4i: oops in error handling in probe (diff)
downloadlinux-ed49e650371008b0e00c8004cc2ca93055740f78.tar.xz
linux-ed49e650371008b0e00c8004cc2ca93055740f78.zip
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>
Diffstat (limited to '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
*/