From: Bart Westgeest Date: Wed, 25 Jan 2012 18:46:32 +0000 (-0500) Subject: staging: usbip: fix to prevent potentially using uninitialized spinlock X-Git-Tag: v3.3-rc4~40^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=737912e11bf5bd4874acc771d8511a6eab891fc5;p=pandora-kernel.git staging: usbip: fix to prevent potentially using uninitialized spinlock The stub_probe function can be called as soon as the stub_driver is registered. This can lead to the busid_table_lock being used before it is initialized. Moved calling the init_busid_table function (which initalizes this spinlock) to be called earlier in the init function to prevent this from happening. Signed-off-by: Bart Westgeest Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed