Re: [PATCH] videobuf2-core: make checking condition more strict

2014-08-20 Thread Sylwester Nawrocki
On 20/08/14 05:11, Zhaowei Yuan wrote: > It's also invalid that plane_no equals to vb->num_planes The patch looks good to me but I would make the summary line more specific, e.g. "vb2: fix plane index sanity check in vb2_plane_cookie()". I think this patch should be backported to the stable tree

[PATCH] videobuf2-core: make checking condition more strict

2014-08-19 Thread Zhaowei Yuan
It's also invalid that plane_no equals to vb->num_planes Signed-off-by: Zhaowei Yuan --- drivers/media/v4l2-core/videobuf2-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index c359