Re: [PATCH net] dwc_eth_qos: do not register semi-initialized device

From: David Miller
Date: Fri Sep 09 2016 - 22:20:43 EST


From: Lars Persson <lars.persson@xxxxxxxx>
Date: Thu, 8 Sep 2016 13:24:21 +0200

> 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@xxxxxxxxx>
> Signed-off-by: Lars Persson <larper@xxxxxxxx>

Applied.