commit | 47b02f7294a483387772a46931da942b2ca9d845 | [log] [tgz] |
---|---|---|
author | Lars Persson <lars.persson@axis.com> | Thu Sep 08 13:24:21 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 09 19:20:21 2016 -0700 |
tree | 0058445575d9b9c2d4aec5b703e40ec8c2a4e7ec | |
parent | 7303a1475008bee5c3e82a06a282568415690d72 [diff] |
dwc_eth_qos: do not register semi-initialized device We move register_netdev() to the end of dwceqos_probe() to close any races where the netdev callbacks are called before the initialization has finished. Reported-by: Pavel Andrianov <andrianov@ispras.ru> Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>