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: 6c5570016b
("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>
This commit is contained in:
parent
4d86d38186
commit
20e883204f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue