From: Jonathan Corbet Date: Fri, 13 Oct 2006 10:51:16 +0000 (-0300) Subject: V4L/DVB (4743): Fix oops in VIDIOC_G_PARM X-Git-Tag: v2.6.19-rc3~215^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83427ac5d643308ccb36e05d525949952bdedc27;p=pandora-kernel.git V4L/DVB (4743): Fix oops in VIDIOC_G_PARM The call to v4l2_std_construct() in the VIDIOC_G_PARM handler treats vfd->current_norm as if it were an index - but it's not. The result is an oops if the driver has no vidioc_g_parm() method defined. Here's the fix. Signed-off-by: Jonathan Corbet Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed