Re: [PATCH 2/2] [media] dib9000: implement error handling for DibAcquireLock

2012-03-19 Thread Mauro Carvalho Chehab
Em 06-03-2012 18:08, Alexey Khoroshilov escreveu: > DibAcquireLock() is implemented as mutex_lock_interruptible() > but the driver does not handle unsuccessful locking. > As a result it may lead to unlock of an unheld mutex. > > Found by Linux Driver Verification project (linuxtesting.org). > >

[PATCH 2/2] [media] dib9000: implement error handling for DibAcquireLock

2012-03-06 Thread Alexey Khoroshilov
DibAcquireLock() is implemented as mutex_lock_interruptible() but the driver does not handle unsuccessful locking. As a result it may lead to unlock of an unheld mutex. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/dvb/fronte