Thread (18 messages) 18 messages, 3 authors, 2023-02-20

Re: [PATCH net-next v1 4/4] net: phy: c45: genphy_c45_ethtool_set_eee: validate EEE link modes

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-02-20 15:35:10
Also in: lkml

+			adv[0] = data->advertised;
Same here please.
quoted hunk ↗ jump to hunk
+			linkmode_andnot(adv, adv, phydev->supported_eee);
+			if (!linkmode_empty(adv)) {
+				phydev_warn(phydev, "At least some EEE link modes are not supported.\n");
+				return -EINVAL;
+			}
+
 			phydev->advertising_eee[0] = data->advertised;
...

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