Commit 20e88320 authored by Florian Westphal's avatar Florian Westphal Committed by David S. Miller

net: core: fix kerneldoc comment

net/core/dev.c:1306: warning: No description found for parameter 'name'
net/core/dev.c:1306: warning: Excess function parameter 'alias' description in 'dev_get_alias'

Fixes: 6c557001 ("net: core: decouple ifalias get/set from rtnl lock")
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d86d381
...@@ -1295,7 +1295,7 @@ int dev_set_alias(struct net_device *dev, const char *alias, size_t len) ...@@ -1295,7 +1295,7 @@ int dev_set_alias(struct net_device *dev, const char *alias, size_t len)
/** /**
* dev_get_alias - get ifalias of a device * dev_get_alias - get ifalias of a device
* @dev: device * @dev: device
* @alias: buffer to store name of ifalias * @name: buffer to store name of ifalias
* @len: size of buffer * @len: size of buffer
* *
* get ifalias for a device. Caller must make sure dev cannot go * get ifalias for a device. Caller must make sure dev cannot go
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment