Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phylink: fix kernel-doc warnings

Fix kernel-doc warnings in phylink.c:

../drivers/net/phy/phylink.c:595: warning: Function parameter or member 'config' not described in 'phylink_create'
../drivers/net/phy/phylink.c:595: warning: Excess function parameter 'ndev' description in 'phylink_create'

Fixes: 8796c8923d9c ("phylink: add documentation for kernel APIs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>

authored by

Randy Dunlap and committed by
Jakub Kicinski
9db74e51 819be810

+1 -1
+1 -1
drivers/net/phy/phylink.c
··· 576 576 577 577 /** 578 578 * phylink_create() - create a phylink instance 579 - * @ndev: a pointer to the &struct net_device 579 + * @config: a pointer to the target &struct phylink_config 580 580 * @fwnode: a pointer to a &struct fwnode_handle describing the network 581 581 * interface 582 582 * @iface: the desired link mode defined by &typedef phy_interface_t