net: core: fix kerneldoc comment
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Signed-off-by Florian Westphal <[email protected]>
--- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev.c +1 -1
@@ -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
Signature · 1 line
2.13.6
From: Florian Westphal <[email protected]>
Date: Wed, 4 Oct 2017 13:56:50 +0200
Quoted 6 lines
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 <[email protected]>Signed-off-by Florian Westphal <[email protected]>
Applied.