summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-12-28 15:44:41 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-29 12:08:11 -0500
commitb2eb09af7370fedc6b9d9f05762f01625438467a (patch)
treee7cdc336ec82e8bac2992476992669751ddf3db5 /arch/sh
parente4c5e13aa45c23692e4acf56f0b3533f328199b2 (diff)
net: stmmac: Fix error path after register_netdev move
Commit 5701659004d6 ("net: stmmac: Fix race between stmmac_drv_probe and stmmac_open") re-ordered how the MDIO bus registration and the network device are registered, but missed to unwind the MDIO bus registration in case we fail to register the network device. Fixes: 5701659004d6 ("net: stmmac: Fix race between stmmac_drv_probe and stmmac_open") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Kweh, Hock Leong <hock.leong.kweh@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions