Re: [PATCH 3/3] [media] vb2: prevent drivers from requesting too many buffers/planes.

2011-04-04 Thread Hans Verkuil
On Monday, April 04, 2011 01:38:57 Pawel Osciak wrote: Add a sanity check to make sure drivers do not adjust the number of buffers or planes above the supported limit on reqbufs. Signed-off-by: Pawel Osciak pa...@osciak.com --- drivers/media/video/videobuf2-core.c |5 + 1 files

[PATCH 3/3] [media] vb2: prevent drivers from requesting too many buffers/planes.

2011-04-03 Thread Pawel Osciak
Add a sanity check to make sure drivers do not adjust the number of buffers or planes above the supported limit on reqbufs. Signed-off-by: Pawel Osciak pa...@osciak.com --- drivers/media/video/videobuf2-core.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git