1 From 57e6b6f2303e596a6493078b53be14b789e7b79f Mon Sep 17 00:00:00 2001
2 From: Hans Verkuil <hverkuil@xs4all.nl>
3 Date: Sun, 25 Feb 2018 06:55:32 -0500
4 Subject: media: atomisp_fops.c: disable atomisp_compat_ioctl32
6 From: Hans Verkuil <hverkuil@xs4all.nl>
8 commit 57e6b6f2303e596a6493078b53be14b789e7b79f upstream.
10 The atomisp_compat_ioctl32() code has problems. This patch disables the
11 compat_ioctl32 support until those issues have been fixed.
13 Contact Sakari or me for more details.
15 Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
16 Cc: <stable@vger.kernel.org> # for v4.12 and up
17 Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
18 Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c | 6 ++++++
23 1 file changed, 6 insertions(+)
25 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c
26 +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c
27 @@ -1279,7 +1279,10 @@ const struct v4l2_file_operations atomis
29 .unlocked_ioctl = video_ioctl2,
32 + * There are problems with this code. Disable this for now.
33 .compat_ioctl32 = atomisp_compat_ioctl32,
38 @@ -1291,7 +1294,10 @@ const struct v4l2_file_operations atomis
39 .mmap = atomisp_file_mmap,
40 .unlocked_ioctl = video_ioctl2,
43 + * There are problems with this code. Disable this for now.
44 .compat_ioctl32 = atomisp_compat_ioctl32,