diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-17 13:50:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-19 17:26:07 -0800 |
commit | 0dea4d039a7fdd97790a71da37c1ce67a5b52769 (patch) | |
tree | 628fef0b7ceb4e4da3eaf73342504a077e004e3e /mm | |
parent | Merge branch 'phylib-consolidation' (diff) | |
download | linux-dev-0dea4d039a7fdd97790a71da37c1ce67a5b52769.tar.xz linux-dev-0dea4d039a7fdd97790a71da37c1ce67a5b52769.zip |
net: sfp: report error on failure to read sfp soft status
Report a rate-limited error if we fail to read the SFP soft status,
and preserve the current status in that case. This avoids I2C bus
errors from triggering a link flap.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions