Vlad Lungu f8e9616108 stmmac: priv->lock can be used uninitialized
To reproduce: if connman (http://connman.net/) is started,
inserting the stmmac module triggers a "BUG: spinlock bad magic on CPU#0".

Registering the device in stmmac_probe() sends a notification to connman
which brings the interface up before the lock is initialized.

Signed-off-by: Vlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-02 13:19:48 -08:00
..
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00
2010-10-16 11:13:25 -07:00