aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethtool/phy.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-03-06 21:01:27 +0000
committerJakub Kicinski <[email protected]>2025-03-06 21:03:35 +0000
commit2525e16a2bae322641fd745412f3524d4455d8df (patch)
treeb1b2646362b8cc89fe3cf4eece698810fbb05c55 /net/ethtool/phy.c
parentMerge branch 'net-hold-netdev-instance-lock-during-ndo-operations' (diff)
parentMerge tag 'net-6.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff)
downloadkernel-2525e16a2bae322641fd745412f3524d4455d8df.tar.gz
kernel-2525e16a2bae322641fd745412f3524d4455d8df.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.14-rc6). Conflicts: net/ethtool/cabletest.c 2bcf4772e45a ("net: ethtool: try to protect all callback with netdev instance lock") 637399bf7e77 ("net: ethtool: netlink: Allow NULL nlattrs when getting a phy_device") No Adjacent changes. Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ethtool/phy.c')
-rw-r--r--net/ethtool/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/phy.c b/net/ethtool/phy.c
index 2b428bc80c9b..1a6b725d1f14 100644
--- a/net/ethtool/phy.c
+++ b/net/ethtool/phy.c
@@ -125,7 +125,7 @@ static int ethnl_phy_parse_request(struct ethnl_req_info *req_base,
struct phy_req_info *req_info = PHY_REQINFO(req_base);
struct phy_device *phydev;
- phydev = ethnl_req_get_phydev(req_base, tb[ETHTOOL_A_PHY_HEADER],
+ phydev = ethnl_req_get_phydev(req_base, tb, ETHTOOL_A_PHY_HEADER,
extack);
if (!phydev)
return 0;