Ivan Vecera 7ec52b9df7 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>
2019-03-26 16:14:24 -07:00
..
2019-03-14 10:48:14 -07:00
2019-03-09 16:53:47 -08:00
2019-03-06 09:41:12 -08:00
2019-03-06 10:15:42 -08:00
2019-03-14 09:11:54 -07:00
2019-03-09 14:57:08 -08:00
2019-03-12 10:04:00 -07:00
2019-03-06 14:18:59 -08:00
2019-03-09 14:57:08 -08:00
2019-03-08 10:02:58 -08:00
2019-03-11 20:06:18 -07:00
2019-03-10 12:29:52 -07:00
2019-03-10 10:17:23 -07:00
2019-03-10 13:16:37 -07:00
2019-03-12 10:04:02 -07:00
2019-03-10 11:54:48 -07:00
2019-03-10 11:54:48 -07:00
2019-03-09 15:53:03 -08:00
2019-03-08 14:12:17 -08:00
2019-03-26 16:14:24 -07:00
2019-03-13 09:41:18 -07:00
2019-03-08 14:12:17 -08:00
2019-03-10 11:54:48 -07:00
2019-03-10 12:29:52 -07:00
2019-03-10 10:17:23 -07:00
2019-03-08 08:23:15 -08:00
2019-03-12 09:46:32 -07:00
2019-03-14 09:00:06 -07:00
2019-03-12 09:46:32 -07:00
2019-03-18 18:34:45 -07:00
2019-03-09 16:53:47 -08:00
2019-03-06 09:41:12 -08:00
2019-03-09 14:57:08 -08:00
2019-03-09 14:45:54 -08:00
2019-03-09 16:53:47 -08:00
2019-03-06 09:41:12 -08:00
2019-03-14 09:11:54 -07:00
2019-03-07 12:56:26 -08:00
2019-03-10 12:47:57 -07:00
2019-03-08 09:58:20 -08:00
2019-03-11 11:22:15 -07:00
2019-03-10 12:29:52 -07:00