diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-08 13:35:23 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 15:43:16 (GMT) |
commit | 9f1a693f76700018d921cd7af86f7c994a300613 (patch) | |
tree | 73051e624f100b00835ed99d1895645d1d1c4987 /sound/parisc/Makefile | |
parent | 501cd11a34cd29e20f040bfd8a9e2b6fe6908c91 (diff) | |
download | linux-9f1a693f76700018d921cd7af86f7c994a300613.tar.xz |
V4L/DVB (10920): v4l2-ioctl: fix partial-copy code.
The code to optimize the usercopy only checked the ioctl NR field. However,
this code is also called for non-V4L2 ioctls (either private or ioctls from
linux/dvb/audio.h and linux/dvb/video.h for decoder drivers like ivtv).
If such an ioctl has the same NR as a V4L2 ioctl, then disaster strikes.
Modified the code to check on the full command ID.
Thanks to Martin Dauskardt for tracing the ivtv breakage to this particular
change.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'sound/parisc/Makefile')
0 files changed, 0 insertions, 0 deletions