Thread (5 messages) flat view 5 messages, 3 authors, 2020-08-17

Re: [PATCH] phylink: <linux/phylink.h>: fix function prototype kernel-doc warning

From: David Miller <davem@davemloft.net>
Date: 2020-08-17 18:46:48
Also in: lkml

From: Randy Dunlap <rdunlap@infradead.org>
Date: Sun, 16 Aug 2020 22:43:54 -0700
On 8/16/20 9:14 PM, David Miller wrote:
quoted
From: Randy Dunlap <rdunlap@infradead.org>
Date: Sun, 16 Aug 2020 15:25:49 -0700
quoted
Fix a kernel-doc warning for the pcs_config() function prototype:

../include/linux/phylink.h:406: warning: Excess function parameter 'permit_pause_to_mac' description in 'pcs_config'

Fixes: 7137e18f6f88 ("net: phylink: add struct phylink_pcs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
There's no definition of this function anywhere.  Maybe just remove all of
this?
It's for documentation purposes...

It's a "method" (callback) function.
I see, that's an unfortunate shortcoming of kerneldoc.

Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help