summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/hal_init.c
diff options
context:
space:
mode:
authorBart Westgeest <bart@elbrys.com>2012-01-25 22:46:32 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 02:14:15 +0400
commit737912e11bf5bd4874acc771d8511a6eab891fc5 (patch)
treed5af155fa17a25e2ce253e32c47c13408e739fe0 /drivers/staging/rtl8712/hal_init.c
parent4c0029f01f4009d6ab149230026c9716bde96283 (diff)
downloadlinux-737912e11bf5bd4874acc771d8511a6eab891fc5.tar.xz
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/hal_init.c')
0 files changed, 0 insertions, 0 deletions