kernel-fxtec-pro1x/drivers/misc/mei
Alexey Khoroshilov e6028db014 mei: fix mismatch in mutex unlock-lock in mei_amthif_read()
Users of mei_amthif_read() expect it leaves dev->device_lock held,
while there is a path where mei_amthif_read() unlocks device_lock
and returns -ERESTARTSYS.

The patch move code locking device_lock back before the return.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:28:03 -08:00
..
amthif.c mei: fix mismatch in mutex unlock-lock in mei_amthif_read() 2013-01-07 10:28:03 -08:00
hw.h mei: use the same bus msg for connect and disconnect request 2012-11-15 15:34:19 -08:00
init.c mei: Simplify the ME client enumeration code 2012-11-21 12:43:58 -08:00
interface.c mei: compact code for mei bus message creation 2012-11-21 12:43:57 -08:00
interface.h mei: wd: decouple and revamp watchdog state machine 2012-08-16 09:51:02 -07:00
interrupt.c mei: Simplify the ME client enumeration code 2012-11-21 12:43:58 -08:00
iorw.c mei: use link and unlink terms for connecting ME and HOST client 2012-11-15 15:34:19 -08:00
Kconfig char/misc: remove CONFIG_EXPERIMENTAL dependencies 2012-09-18 16:14:53 +01:00
main.c misc: remove use of __devexit 2012-11-21 12:53:32 -08:00
Makefile mei: extract AMTHI functions into the amthif.c file 2012-11-01 12:31:19 -07:00
mei_dev.h mei: Simplify the ME client enumeration code 2012-11-21 12:43:58 -08:00
wd.c watchdog: mei: avoid oops in watchdog unregister code path 2012-12-19 22:25:11 +01:00