Re: [PATCH] media: v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Sakari Ailus
On Thu, Jan 10, 2019 at 11:48:39AM +0100, Thierry Reding wrote: > From: Thierry Reding > > Currently the IOCTL code clears everything after the per-plane > bytesperline field in struct v4l2_format. The intent was to only clear > the per-plane reserved fields since there is data in struct v4l2_for

Re: [PATCH] media: v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Hans Verkuil
On 01/10/19 11:48, Thierry Reding wrote: > From: Thierry Reding > > Currently the IOCTL code clears everything after the per-plane > bytesperline field in struct v4l2_format. The intent was to only clear > the per-plane reserved fields since there is data in struct v4l2_format > after the per-pla

[PATCH] media: v4l2-ioctl: Clear only per-plane reserved fields

2019-01-10 Thread Thierry Reding
From: Thierry Reding Currently the IOCTL code clears everything after the per-plane bytesperline field in struct v4l2_format. The intent was to only clear the per-plane reserved fields since there is data in struct v4l2_format after the per-plane format data that userspace may have filled in. Fi