From: Vlad Lungu Date: Mon, 29 Nov 2010 22:52:52 +0000 (+0000) Subject: stmmac: priv->lock can be used uninitialized X-Git-Tag: v2.6.37-rc6~14^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8e9616108c7003e6499c162459258f11c9dc85e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed