aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/drv_types.h
diff options
context:
space:
mode:
authorBart Westgeest <bart@elbrys.com>2012-01-25 13:46:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 14:14:15 -0800
commit737912e11bf5bd4874acc771d8511a6eab891fc5 (patch)
treed5af155fa17a25e2ce253e32c47c13408e739fe0 /drivers/staging/rtl8712/drv_types.h
parentstaging: r8712u: Fix problem when CONFIG_R8712_AP is set (diff)
downloadlinux-dev-737912e11bf5bd4874acc771d8511a6eab891fc5.tar.xz
linux-dev-737912e11bf5bd4874acc771d8511a6eab891fc5.zip
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 <bart@elbrys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/drv_types.h')
0 files changed, 0 insertions, 0 deletions