Re: [PATCH] v4l: Fix dma buf single plane compat handling

2015-12-13 Thread Laurent Pinchart
Hi Sakari, On Wednesday 09 December 2015 13:07:40 Sakari Ailus wrote: > On Wed, Dec 09, 2015 at 01:11:12AM +0200, Laurent Pinchart wrote: > > On Tuesday 08 December 2015 17:29:16 Sakari Ailus wrote: > > > On Mon, Dec 07, 2015 at 10:45:39AM +0200, Laurent Pinchart wrote: > > > > From: Gjorgji

Re: [PATCH] v4l: Fix dma buf single plane compat handling

2015-12-09 Thread Sakari Ailus
On Wed, Dec 09, 2015 at 01:11:12AM +0200, Laurent Pinchart wrote: > Hi Sakari, > > On Tuesday 08 December 2015 17:29:16 Sakari Ailus wrote: > > On Mon, Dec 07, 2015 at 10:45:39AM +0200, Laurent Pinchart wrote: > > > From: Gjorgji Rosikopulos > > > > > > Buffer length is

Re: [PATCH] v4l: Fix dma buf single plane compat handling

2015-12-08 Thread Sakari Ailus
Hi Laurent and Gjorgji, On Mon, Dec 07, 2015 at 10:45:39AM +0200, Laurent Pinchart wrote: > From: Gjorgji Rosikopulos > > Buffer length is needed for single plane as well, otherwise > is uninitialized and behaviour is undetermined. How about: The v4l2_buffer length

Re: [PATCH] v4l: Fix dma buf single plane compat handling

2015-12-08 Thread grosikopulos
Hi Sakari, > Hi Laurent and Gjorgji, > > On Mon, Dec 07, 2015 at 10:45:39AM +0200, Laurent Pinchart wrote: >> From: Gjorgji Rosikopulos grosikopu...@mm-sol.com >> >> Buffer length is needed for single plane as well, otherwise >> is uninitialized and behaviour is undetermined. > > How about:

Re: [PATCH] v4l: Fix dma buf single plane compat handling

2015-12-08 Thread Laurent Pinchart
Hi Sakari, On Tuesday 08 December 2015 17:29:16 Sakari Ailus wrote: > On Mon, Dec 07, 2015 at 10:45:39AM +0200, Laurent Pinchart wrote: > > From: Gjorgji Rosikopulos > > > > Buffer length is needed for single plane as well, otherwise > > is uninitialized and behaviour

[PATCH] v4l: Fix dma buf single plane compat handling

2015-12-07 Thread Laurent Pinchart
From: Gjorgji Rosikopulos Buffer length is needed for single plane as well, otherwise is uninitialized and behaviour is undetermined. Signed-off-by: Gjorgji Rosikopulos Signed-off-by: Laurent Pinchart ---