diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-04 02:51:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-05 03:57:52 +0300 |
commit | 38ecd706ca78525d9c4e3bdf9dbe4d2860c125ef (patch) | |
tree | 6a6507d3ec5fcd232b04e2d51956cc4411b5d3c0 /scripts/gcc-x86_32-has-stack-protector.sh | |
parent | 0cb96b5749bf500f3612cda52fc98eb795fcd62d (diff) | |
download | linux-38ecd706ca78525d9c4e3bdf9dbe4d2860c125ef.tar.xz |
net: sfp: fix hwmon
The referenced commit below allowed more than one hwmon device to be
created per SFP, which is definitely not what we want. Avoid this by
only creating the hwmon device just as we transition to WAITDEV state.
Fixes: 139d3a212a1f ("net: sfp: allow modules with slow diagnostics to probe")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-x86_32-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions