Thread (6 messages) flat view 6 messages, 4 authors, 2021-10-05

Re: [PATCH net-next 2/2] net: phylink: use mdiobus_modify_changed() helper

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-10-05 16:26:04

On Tue, 05 Oct 2021 16:34:02 +0100 Russell King (Oracle) wrote:
quoted hunk ↗ jump to hunk
Use the mdiobus_modify_changed() helper in the C22 PCS advertisement
helper.

Signed-off-by: Russell King (Oracle) <redacted>
---
 drivers/net/phy/phylink.c | 28 ++++------------------------
 1 file changed, 4 insertions(+), 24 deletions(-)
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index b32774fd65f8..d76362028752 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
drivers/net/phy/phylink.c: In function ‘phylink_mii_c22_pcs_set_advertisement’:
drivers/net/phy/phylink.c:2599:11: warning: unused variable ‘ret’ [-Wunused-variable]
 2599 |  int val, ret;
      |           ^~~
drivers/net/phy/phylink.c:2599:6: warning: unused variable ‘val’ [-Wunused-variable]
 2599 |  int val, ret;
      |      ^~~
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help