Re: double unlock in bttv_poll() and in saa7134-video.c

2009-07-29 Thread Trent Piepho
On Sat, 25 Jul 2009, Dan Carpenter wrote: > My source code checker, smatch (http://repo.or.cz/w/smatch.git), > complains about a double unlock in bttv_poll() from > drivers/media/video/bt8xx/bttv-driver.c. It unlocks on line 3190 and > again on 3201. How about this: http://linuxtv.org/hg/~tap/bt

double unlock in bttv_poll() and in saa7134-video.c

2009-07-25 Thread Dan Carpenter
Hello, My source code checker, smatch (http://repo.or.cz/w/smatch.git), complains about a double unlock in bttv_poll() from drivers/media/video/bt8xx/bttv-driver.c. It unlocks on line 3190 and again on 3201. 3190 mutex_unlock(&fh->cap.vb_lock); 3191 buf =