linux/drivers/media
Hans Verkuil 9f1a693f76 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>
2009-03-30 12:43:16 -03:00
..
common V4L/DVB (10897): Fix Kbuild MEDIA_TUNER_CUSTOMIZE dependencies 2009-03-30 12:43:14 -03:00
dvb V4L/DVB (10905): dib0700: enable DVB_FE_CUSTOMISE for dibcom frontends 2009-03-30 12:43:14 -03:00
radio V4L/DVB (10894): ISA radio drivers: improve kernel log message 2009-03-30 12:43:13 -03:00
video V4L/DVB (10920): v4l2-ioctl: fix partial-copy code. 2009-03-30 12:43:16 -03:00
Kconfig V4L/DVB (10633): DAB: fix typo 2009-03-30 12:42:49 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00