Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 078ff795 authored by Douglas Schilling Landgraf's avatar Douglas Schilling Landgraf Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7402): add macro validation for v4l_compat_ioctl32



Added macro CONFIG_COMPAT for v4l_compat_ioctl32.

Signed-off-by: default avatarDouglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 03dea86d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -438,7 +438,9 @@ static const struct file_operations usb_dsbr100_fops = {
	.open		= usb_dsbr100_open,
	.release	= usb_dsbr100_close,
	.ioctl		= video_ioctl2,
#ifdef CONFIG_COMPAT
	.compat_ioctl	= v4l_compat_ioctl32,
#endif
	.llseek		= no_llseek,
};

+2 −0
Original line number Diff line number Diff line
@@ -221,7 +221,9 @@ static const struct file_operations pcm20_fops = {
	.open           = video_exclusive_open,
	.release        = video_exclusive_release,
	.ioctl		= pcm20_ioctl,
#ifdef CONFIG_COMPAT
	.compat_ioctl	= v4l_compat_ioctl32,
#endif
	.llseek         = no_llseek,
};

+2 −0
Original line number Diff line number Diff line
@@ -382,7 +382,9 @@ static const struct file_operations rtrack_fops = {
	.open           = video_exclusive_open,
	.release        = video_exclusive_release,
	.ioctl		= video_ioctl2,
#ifdef CONFIG_COMPAT
	.compat_ioctl	= v4l_compat_ioctl32,
#endif
	.llseek         = no_llseek,
};

+2 −0
Original line number Diff line number Diff line
@@ -346,7 +346,9 @@ static const struct file_operations aztech_fops = {
	.open           = video_exclusive_open,
	.release        = video_exclusive_release,
	.ioctl		= video_ioctl2,
#ifdef CONFIG_COMPAT
	.compat_ioctl	= v4l_compat_ioctl32,
#endif
	.llseek         = no_llseek,
};

+2 −0
Original line number Diff line number Diff line
@@ -563,7 +563,9 @@ static const struct file_operations cadet_fops = {
	.read		= cadet_read,
	.ioctl		= video_ioctl2,
	.poll		= cadet_poll,
#ifdef CONFIG_COMPAT
	.compat_ioctl	= v4l_compat_ioctl32,
#endif
	.llseek         = no_llseek,
};

Loading