commit | 087fca595a0a30804fd7896e77ba11aa46e5d708 | [log] [tgz] |
---|---|---|
author | Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> | Wed Jun 13 12:05:16 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 14 17:08:03 2018 -0700 |
tree | 706862bd48577e0c1e22315da4e3bcb63f0f2f31 | |
parent | 4fd44a98ffe0d048246efef67ed640fdf2098a62 [diff] |
net: emaclite: Fix position of lp->mii_bus assignment To ensure MDIO bus is not double freed in remove() path assign lp->mii_bus after MDIO bus registration. Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>