Re: [PATCH net v2] net: phy: smsc: fix printing too many logs

2020-06-17 Thread Andrew Lunn
> v1 -> v2: > - add more commit message spell out why has this commit > and how to modify it. Just to re-iterate what i said for v1, this does not explain why -110 is not an error and so should not cause a message to be printed. Andrew

[PATCH net v2] net: phy: smsc: fix printing too many logs

2020-06-17 Thread Dejin Zheng
Commit 7ae7ad2f11ef47 ("net: phy: smsc: use phy_read_poll_timeout() to simplify the code") will print a lot of logs as follows when Ethernet cable is not connected: [4.473105] SMSC LAN8710/LAN8720 2188000.ethernet-1:00: lan87xx_read_status failed: -110 The commit will change the original beh