diff options
author | Jonathan Corbet <corbet-v4l@lwn.net> | 2006-10-13 12:51:16 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-14 05:44:20 +0200 |
commit | 83427ac5d643308ccb36e05d525949952bdedc27 (patch) | |
tree | ce2e0b87884e4ed97bf25ea1a43b1c5ea79daa26 /drivers/media/video/bt8xx/Kconfig | |
parent | V4L/DVB (4742): Drivers/media/video: handle sysfs errors (diff) | |
download | linux-83427ac5d643308ccb36e05d525949952bdedc27.tar.xz linux-83427ac5d643308ccb36e05d525949952bdedc27.zip |
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 <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/Kconfig')
0 files changed, 0 insertions, 0 deletions