Skip to content

Commit 0b76e64

Browse files
rddunlapdavem330
authored andcommitted
phylink: <linux/phylink.h>: 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: 7137e18 ("net: phylink: add struct phylink_pcs") Signed-off-by: Randy Dunlap <[email protected]> Cc: Russell King <[email protected]> Cc: David S. Miller <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
1 parent b3b2854 commit 0b76e64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/phylink.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ void pcs_get_state(struct phylink_pcs *pcs,
402402
* For most 10GBASE-R, there is no advertisement.
403403
*/
404404
int pcs_config(struct phylink_pcs *pcs, unsigned int mode,
405-
phy_interface_t interface, const unsigned long *advertising);
405+
phy_interface_t interface, const unsigned long *advertising,
406+
bool permit_pause_to_mac);
406407

407408
/**
408409
* pcs_an_restart() - restart 802.3z BaseX autonegotiation

0 commit comments

Comments
 (0)