media: staging: atomisp: Fix compat IOCTL handling
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 4 Jun 2020 16:16:20 +0000 (18:16 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:46:11 +0000 (18:46 +0200)
commit84f1b2dc0c47b11aff3de1af237e8377e8bb7898
treeddece965a7c75dd6677a1b95d491d1d351b86989
parent09013efe1c1a73154a0bf2ab14430d33e3c7d2fd
media: staging: atomisp: Fix compat IOCTL handling

Atomisp compat IOCTL handling suffers from the same security issue than
the V4L2 did. Fix this for atomisp.

See more information in patch a1dfb4c48cc1 ("media: v4l2-compat-ioctl32.c:
refactor compat ioctl32 logic").

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_compat_ioctl32.c