Netdev Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH -net] phylink: fix kernel-doc warnings
@ 2019-10-08 15:39 Randy Dunlap
  2019-10-10  0:47 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2019-10-08 15:39 UTC (permalink / raw)
  To: netdev, David Miller; +Cc: Russell King

From: Randy Dunlap <rdunlap@infradead.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@infradead.org>
Cc: Russell King <rmk+kernel@armlinux.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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -net] phylink: fix kernel-doc warnings
  2019-10-08 15:39 [PATCH -net] phylink: fix kernel-doc warnings Randy Dunlap
@ 2019-10-10  0:47 ` Jakub Kicinski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2019-10-10  0:47 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: netdev, David Miller, Russell King

On Tue, 8 Oct 2019 08:39:04 -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.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@infradead.org>
> Cc: Russell King <rmk+kernel@armlinux.org.uk>

Applied to net, thank you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 15:39 [PATCH -net] phylink: fix kernel-doc warnings Randy Dunlap
2019-10-10  0:47 ` Jakub Kicinski

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org netdev@archiver.kernel.org
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox