From: Eugenia Emantayev Date: Mon, 27 Oct 2014 09:37:46 +0000 (+0200) Subject: net/mlx4_en: Move spinlocks and work initalizations to beginning of init_netdev X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~332^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=207af6c5073021dfe32ae01d342a4dbf08e57515;p=pandora-kernel.git net/mlx4_en: Move spinlocks and work initalizations to beginning of init_netdev Upon failures, destroy_netdev is called, and spinlocks/works must be initialized before calling it. Otherwise kernel panic may occur. Signed-off-by: Eugenia Emantayev Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed