mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 23:23:03 +00:00
81c254a65c
The ff400_copy_msg_to_user() function drops the spin lock to call
copy_to_user(). However, if the copy_to_user() fails, then it must
take the lock again before returning. Failure to take the lock leads
to a double unlock in the caller, hwdep_read().
Fixes:
|
||
---|---|---|
.. | ||
bebob | ||
dice | ||
digi00x | ||
fireface | ||
fireworks | ||
motu | ||
oxfw | ||
tascam | ||
amdtp-am824.c | ||
amdtp-am824.h | ||
amdtp-stream-trace.h | ||
amdtp-stream.c | ||
amdtp-stream.h | ||
cmp.c | ||
cmp.h | ||
fcp.c | ||
fcp.h | ||
isight.c | ||
iso-resources.c | ||
iso-resources.h | ||
Kconfig | ||
lib.c | ||
lib.h | ||
Makefile | ||
packets-buffer.c | ||
packets-buffer.h |