linux/drivers/media/pci
Arnd Bergmann 8a24280b11 media: dvb: move most compat_ioctl handling into drivers
Most DVB audio and video ioctl commands are completely compatible,
and are implemented by just two drivers: ttpci and ivtv. In both
cases, we can use the same ioctl handler for both native and
compat ioctl handling, and remove the entries from the global
lookup table.

In case of ttpci, this directly hooks into the file_operations
structure, and for ivtv, we have to set the compat_ioctl32
method in v4l2_file_operations. For all I can tell, setting it
to video_ioctl2 will still do the right thing for all commands.

Note that for the VIDEO_STILLPICTURE and VIDEO_GET_EVENT commands,
a translation handler in fs/compat_ioctl.c is still used. This
works because the command numbers are different on 32-bit
systems.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-12 11:00:51 -04:00
..
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bt8xx media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
cobalt media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cx18 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cx88 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
cx23885 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
cx25821 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
ddbridge media: ddbridge/sx8: remove redundant check of iq_mode == 2 2018-09-12 09:14:05 -04:00
dm1105 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
dt3155 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
intel media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv media: dvb: move most compat_ioctl handling into drivers 2018-09-12 11:00:51 -04:00
mantis media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
meye media: fix: media: pci: meye: validate offset to avoid arbitrary access 2018-09-12 10:47:50 -04:00
netup_unidvb media: netup_unidvb: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
ngene media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pluto2 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pt1 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pt3 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
saa7134 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
saa7146 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
saa7164 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
smipcie media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
solo6x10 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
sta2x11 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
ttpci media: dvb: move most compat_ioctl handling into drivers 2018-09-12 11:00:51 -04:00
tw68 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
tw686x media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
tw5864 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
Kconfig media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00