git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9391615
)
staging: lirc: fix mismatch in mutex lock-unlock in imon_probe
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Mon, 29 Aug 2011 20:17:56 +0000
(
00:17
+0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 6 Sep 2011 18:46:20 +0000
(11:46 -0700)
If kzalloc failed for allocation of context, goto alloc_status_switch
leads to unlock of unacquired driver_lock. The patch moves
mutex_lock(&driver_lock) before allocation of context.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found