diff options
author | Andrew Lunn <andrew@lunn.ch> | 2021-10-24 21:48:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-25 14:06:43 +0100 |
commit | c10a485c3de5ccbf1fff65a382cebcb2730c6b06 (patch) | |
tree | 694033b093dc000bba571f9ff618132d1d2be074 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 95a359c9553342d36d408d35331ff0bfce75272f (diff) |
phy: phy_ethtool_ksettings_get: Lock the phy for consistency
The PHY structure should be locked while copying information out if
it, otherwise there is no guarantee of self consistency. Without the
lock the PHY state machine could be updating the structure.
Fixes: 2d55173e71b0 ("phy: add generic function to support ksetting support")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions