media: media-device: fix ioctl function types
authorSami Tolvanen <samitolvanen@google.com>
Mon, 7 May 2018 18:09:46 +0000 (14:09 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 9 May 2018 20:33:46 +0000 (16:33 -0400)
commitdaa36370b62428cca6d48d1b2530a8419f631c8c
treebae009612a16ef88e6450a9c23ee79a7a1a5793b
parent5b817555ab1a02235eddbffa70ceb2b482d4aaef
media: media-device: fix ioctl function types

This change fixes function types for media device ioctls to avoid
indirect call mismatches with Control-Flow Integrity checking.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/media-device.c