linux/drivers/staging/mei
Alexey Khoroshilov 303dfbf572 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>
2011-09-06 16:49:27 -07:00
..
Kconfig staging/mei: add mei to staging Kbuild 2011-05-18 08:30:59 -07:00
Makefile staging/mei: add mei to staging Kbuild 2011-05-18 08:30:59 -07:00
TODO
hw.h staging/mei: Hardware and MEI driver internal struct definition 2011-05-18 08:30:58 -07:00
init.c Merge Linux 3.0-rc6 into staging-next 2011-07-05 07:35:09 -07:00
interface.c staging: mei: rename num_mei_me_clients to me_clients_num 2011-06-28 13:21:32 -07:00
interface.h staging/mei: MEI link layer 2011-05-18 08:30:57 -07:00
interrupt.c staging: mei: enable msi when supported 2011-08-23 12:56:44 -07:00
iorw.c staging: mei: io_list functions revamp 2011-06-28 13:21:33 -07:00
main.c staging: mei: unlock dev->device_lock mutex on error path in mei_open() 2011-09-06 16:49:27 -07:00
mei.h staging/mei: mei.h defining user space interface 2011-05-18 08:30:58 -07:00
mei.txt
mei_dev.h staging: mei: io_list functions revamp 2011-06-28 13:21:33 -07:00
mei_version.h staging/mei: PCI device and char driver support. 2011-05-18 08:30:56 -07:00
wd.c Merge Linux 3.0-rc6 into staging-next 2011-07-05 07:35:09 -07:00