diff options
author | Ivan Vecera <ivecera@redhat.com> | 2019-03-15 11:45:15 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-27 02:14:24 +0300 |
commit | 7ec52b9df7d7472240fa96223185894b1897aeb0 (patch) | |
tree | 8926ba6ccd8c6159886896dca4320b6e4410d978 /drivers/net/ethernet/aurora/nb8800.h | |
parent | dabb8338be533c18f50255cf39ff4f66d4dabdbe (diff) | |
download | linux-7ec52b9df7d7472240fa96223185894b1897aeb0.tar.xz |
ixgbe: fix mdio bus registration
The ixgbe ignores errors returned from mdiobus_register() and leaves
adapter->mii_bus non-NULL and MDIO bus state as MDIOBUS_ALLOCATED.
This triggers a BUG from mdiobus_unregister() during ixgbe_remove() call.
Fixes: 8fa10ef01260 ("ixgbe: register a mdiobus")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/aurora/nb8800.h')
0 files changed, 0 insertions, 0 deletions