media: atomisp_fops.c: disable atomisp_compat_ioctl32
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 25 Feb 2018 11:55:32 +0000 (06:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2018 07:36:25 +0000 (09:36 +0200)
commit 57e6b6f2303e596a6493078b53be14b789e7b79f upstream.

The atomisp_compat_ioctl32() code has problems. This patch disables the
compat_ioctl32 support until those issues have been fixed.

Contact Sakari or me for more details.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.12 and up
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c

index d8cfed358d55e15f34a377666e59a4faa8b7d339..f1d8cc5a27304e09bbe3ec605af3740a02117b25 100644 (file)
@@ -1285,7 +1285,10 @@ const struct v4l2_file_operations atomisp_fops = {
        .mmap = atomisp_mmap,
        .unlocked_ioctl = video_ioctl2,
 #ifdef CONFIG_COMPAT
+       /*
+        * There are problems with this code. Disable this for now.
        .compat_ioctl32 = atomisp_compat_ioctl32,
+        */
 #endif
        .poll = atomisp_poll,
 };
@@ -1297,7 +1300,10 @@ const struct v4l2_file_operations atomisp_file_fops = {
        .mmap = atomisp_file_mmap,
        .unlocked_ioctl = video_ioctl2,
 #ifdef CONFIG_COMPAT
+       /*
+        * There are problems with this code. Disable this for now.
        .compat_ioctl32 = atomisp_compat_ioctl32,
+        */
 #endif
        .poll = atomisp_poll,
 };