Re: [PATCH] media: v4l2-ioctl: clear fields in s_parm

From: Greg KH
Date: Sat Jun 15 2019 - 12:08:32 EST


On Wed, May 29, 2019 at 12:32:47PM +0100, Naresh Kamboju wrote:
> From: Hans Verkuil <hans.verkuil@xxxxxxxxx>
>
> commit 8a7c5594c02022ca5fa7fb603e11b3e1feb76ed5 upstream.
>
> Zero the reserved capture/output array.
>
> Zero the extendedmode (it is never used in drivers).
>
> Clear all flags in capture/outputmode except for V4L2_MODE_HIGHQUALITY,
> as that is the only valid flag.
>
> Cc: <stable@xxxxxxxxxxxxxxx> # v4.9 v4.14
> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
> Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
> ---
> drivers/media/v4l2-core/v4l2-ioctl.c | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)

Now queued up, thanks.

greg k-h