Re: [PATCH v2] [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'

2017-04-28 Thread Sakari Ailus
On Fri, Apr 28, 2017 at 06:51:40AM +0200, Christophe JAILLET wrote: > We should ensure that 'plane_no' is '< vb->num_planes' as done in > 'vb2_plane_cookie' just a few lines below. > > Cc: sta...@vger.kernel.org > Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver >

Re: [PATCH v2] [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'

2017-04-28 Thread Sakari Ailus
On Fri, Apr 28, 2017 at 06:51:40AM +0200, Christophe JAILLET wrote: > We should ensure that 'plane_no' is '< vb->num_planes' as done in > 'vb2_plane_cookie' just a few lines below. > > Cc: sta...@vger.kernel.org > Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver >

[PATCH v2] [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'

2017-04-27 Thread Christophe JAILLET
We should ensure that 'plane_no' is '< vb->num_planes' as done in 'vb2_plane_cookie' just a few lines below. Cc: sta...@vger.kernel.org Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver framework") Signed-off-by: Christophe JAILLET --- v2:

[PATCH v2] [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'

2017-04-27 Thread Christophe JAILLET
We should ensure that 'plane_no' is '< vb->num_planes' as done in 'vb2_plane_cookie' just a few lines below. Cc: sta...@vger.kernel.org Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver framework") Signed-off-by: Christophe JAILLET --- v2: add CC and Fixes tags ---