commit | 303dfbf5727410bfa3e82d4e2554813f1e8f2de6 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Wed Aug 31 00:41:14 2011 +0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 06 16:49:27 2011 -0700 |
tree | 4672a8a3de6a8178efa8909da55c215c492b83ea | |
parent | 17966e3bb8a3a0d883f4893e515c174ac5980413 [diff] |
staging: mei: unlock dev->device_lock mutex on error path in mei_open() mei_open() acquires dev->device_lock mutex and try to allocate mei_cl, but if the allocation fails it goes to return statement. As a result dev->device_lock left locked. The patch fixes goto to unlock dev->device_lock mutex on this path. 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>