From: Randy Dunlap Date: Sun, 16 Aug 2020 22:25:49 +0000 (-0700) Subject: phylink: : fix function prototype kernel-doc warning X-Git-Tag: v5.15~3062^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b76e642f9ad2471e899e2dd71b9543b7e85e9f6;p=platform%2Fkernel%2Flinux-starfive.git phylink: : fix function prototype kernel-doc warning 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 Cc: Russell King Cc: David S. Miller Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller --- diff --git a/include/linux/phylink.h b/include/linux/phylink.h index a8e8763..c36fb41 100644 --- a/include/linux/phylink.h +++ b/include/linux/phylink.h @@ -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