Re: [PATCH] [media] lmedm04: Do not unlock mutex if mutex_lock_interruptible failed

2011-04-16 Thread Malcolm Priestley
On Sat, 2011-04-16 at 01:01 +0100, Malcolm Priestley wrote: > On Sat, 2011-04-16 at 00:40 +0400, Alexey Khoroshilov wrote: > > There are a couple of places where mutex_unlock() is called even > > if mutex_lock_interruptible() failed. The patch fixes the issue. > > > > Found by Linux Driver Verifi

Re: [PATCH] [media] lmedm04: Do not unlock mutex if mutex_lock_interruptible failed

2011-04-15 Thread Malcolm Priestley
On Sat, 2011-04-16 at 00:40 +0400, Alexey Khoroshilov wrote: > There are a couple of places where mutex_unlock() is called even > if mutex_lock_interruptible() failed. The patch fixes the issue. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshi

[PATCH] [media] lmedm04: Do not unlock mutex if mutex_lock_interruptible failed

2011-04-15 Thread Alexey Khoroshilov
There are a couple of places where mutex_unlock() is called even if mutex_lock_interruptible() failed. The patch fixes the issue. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/media/dvb/dvb-usb/lmedm04.c | 12 +++- 1 file