aboutsummaryrefslogtreecommitdiff
path: root/tools/net/ynl/generated/netdev-user.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2023-09-14 16:35:57 +0100
committerDavid S. Miller <[email protected]>2023-09-17 14:31:23 +0100
commit8635c0663e6bd8b4a11c0cf33d3b067db67ea819 (patch)
treeea1f6f0562a837ec9223d4397d03f3a916548d08 /tools/net/ynl/generated/netdev-user.c
parentc398ef41b6d48bd204260b136b4517e0f130892a (diff)
net: phy: split locked and unlocked section of phy_state_machine()
Split out the locked and unlocked sections of phy_state_machine() into two separate functions which can be called inside the phydev lock and outside the phydev lock as appropriate, thus allowing us to combine the locked regions in the caller of phy_state_machine() with the locked region inside phy_state_machine(). This avoids unnecessarily dropping the phydev lock which may allow races to occur. Tested-by: Jijie Shao <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions