diff options
author | Florian Westphal <fw@strlen.de> | 2017-10-04 13:56:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-04 19:28:22 +0200 |
commit | 20e883204f0268b423799781e5efed786f8a11ba (patch) | |
tree | 641523a5247e6cced0c707573636c8e06933e26d /net/core | |
parent | ravb: RX checksum offload (diff) | |
download | linux-20e883204f0268b423799781e5efed786f8a11ba.tar.xz linux-20e883204f0268b423799781e5efed786f8a11ba.zip |
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: 6c5570016b97 ("net: core: decouple ifalias get/set from rtnl lock")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 1770097cfd86..454f05441546 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -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: device - * @alias: buffer to store name of ifalias + * @name: buffer to store name of ifalias * @len: size of buffer * * get ifalias for a device. Caller must make sure dev cannot go |