From: Thierry MERLE Date: Fri, 29 Dec 2006 23:32:08 +0000 (-0300) Subject: V4L/DVB (5019): Fix the frame->grabstate update in read() entry point. X-Git-Tag: v2.6.20-rc6~60^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c430ca1e16b2b4b30f567806c73e270caea8db1d;p=pandora-kernel.git V4L/DVB (5019): Fix the frame->grabstate update in read() entry point. The Coverity checker spotted that in usbvision_v4l2_read(), the variable "frmx" is never assigned any value different from -1, but it's used an an array index in "usbvision->frame[frmx]". Thanks to Adrian Bunk for warning about that. Signed-off-by: Thierry MERLE Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed