diff options
author | Ivan Vecera <ivecera@redhat.com> | 2019-03-15 09:45:15 +0100 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-26 16:14:24 -0700 |
commit | 7ec52b9df7d7472240fa96223185894b1897aeb0 (patch) | |
tree | 8926ba6ccd8c6159886896dca4320b6e4410d978 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dabb8338be533c18f50255cf39ff4f66d4dabdbe (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions