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

2016-09-09 Thread David Miller
From: Lars Persson 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 > Signed-off-by: Lars Persson Applied.

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

2016-09-08 Thread Lars Persson
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 Signed-off-by: Lars Persson --- drivers/net/ethernet/synopsys/dwc_eth_qos.c | 38 ++--- 1