Re: [PATCH v2] media: media-device: fix ioctl function types

2018-05-08 Thread Sakari Ailus
On Tue, May 08, 2018 at 10:08:41AM +0200, Hans Verkuil wrote: > Hi Sami, > > This is unchanged from the previous version, right? I've already added that > to a > pull request. Casting has been removed from the void pointers as I suggested. That's the difference. > > If this v2 has changes, the

Re: [PATCH v2] media: media-device: fix ioctl function types

2018-05-08 Thread Hans Verkuil
Hi Sami, This is unchanged from the previous version, right? I've already added that to a pull request. If this v2 has changes, then let me know asap. Regards, Hans On 05/07/2018 08:09 PM, Sami Tolvanen wrote: > This change fixes function types for media device ioctls to avoid > indire

Re: [PATCH v2] media: media-device: fix ioctl function types

2018-05-07 Thread Sakari Ailus
On Mon, May 07, 2018 at 11:09:46AM -0700, Sami Tolvanen wrote: > This change fixes function types for media device ioctls to avoid > indirect call mismatches with Control-Flow Integrity checking. > > Signed-off-by: Sami Tolvanen Kiitos! Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.a

[PATCH v2] media: media-device: fix ioctl function types

2018-05-07 Thread Sami Tolvanen
This change fixes function types for media device ioctls to avoid indirect call mismatches with Control-Flow Integrity checking. Signed-off-by: Sami Tolvanen --- drivers/media/media-device.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/media