[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e756330-80b0-e613-c9df-85b58af064c9@infradead.org>
Date: Tue, 8 Oct 2019 08:39:04 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>
Cc: Russell King <rmk+kernel@...linux.org.uk>
Subject: [PATCH -net] phylink: fix kernel-doc warnings
From: Randy Dunlap <rdunlap@...radead.org>
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@...radead.org>
Cc: Russell King <rmk+kernel@...linux.org.uk>
---
drivers/net/phy/phylink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20191008.orig/drivers/net/phy/phylink.c
+++ linux-next-20191008/drivers/net/phy/phylink.c
@@ -576,7 +576,7 @@ static int phylink_register_sfp(struct p
/**
* phylink_create() - create a phylink instance
- * @ndev: a pointer to the &struct net_device
+ * @config: a pointer to the target &struct phylink_config
* @fwnode: a pointer to a &struct fwnode_handle describing the network
* interface
* @iface: the desired link mode defined by &typedef phy_interface_t
Powered by blists - more mailing lists