commit | 0dea4d039a7fdd97790a71da37c1ce67a5b52769 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Tue Dec 17 13:50:29 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 19 17:26:07 2019 -0800 |
tree | 628fef0b7ceb4e4da3eaf73342504a077e004e3e | |
parent | d8e419da048e45a8258b9721e85232dbb25ac618 [diff] |
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>