Russell pointed out that the locking used in phy_is_started() isn't needed and misleading. This locking also contributes to a race fixed with patch 2.
Heiner Kallweit (2): net: phy: don't use locking in phy_is_started net: phy: fix potential race in the phylib state machine drivers/net/phy/phy.c | 13 +++++++------ include/linux/phy.h | 15 +-------------- 2 files changed, 8 insertions(+), 20 deletions(-) -- 2.20.1