]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: media-device: fix ioctl function types
authorSami Tolvanen <samitolvanen@google.com>
Mon, 7 May 2018 18:09:46 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:47:53 +0000 (07:47 +0200)
commitd1cea0cdba7a9ecae7a36998808647434c2ebec7
tree29baeddfd3751053bdb2edfab9406459743746fa
parent5236233eb9471f802bdb477594ba9dbc2a208885
media: media-device: fix ioctl function types

[ Upstream commit daa36370b62428cca6d48d1b2530a8419f631c8c ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/media-device.c