Skip to content

Commit

Permalink
phylink: <linux/phylink.h>: fix function prototype kernel-doc warning
Browse files Browse the repository at this point in the history
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: 7137e18 ("net: phylink: add struct phylink_pcs")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Aug 17, 2020
1 parent b3b2854 commit 0b76e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/phylink.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ void pcs_get_state(struct phylink_pcs *pcs,
* For most 10GBASE-R, there is no advertisement.
*/
int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
phy_interface_t interface, const unsigned long *advertising);
phy_interface_t interface, const unsigned long *advertising,
bool permit_pause_to_mac);

/**
* pcs_an_restart() - restart 802.3z BaseX autonegotiation
Expand Down

0 comments on commit 0b76e64

Please sign in to comment.