diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2011-12-30 16:10:44 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2011-12-30 16:12:43 -0200 |
| commit | 57e43cfb6cf9b88d776f3193f12cd6f81177bd6e (patch) | |
| tree | 14e5fadfe29e7fd977e1e5c26b87c0a0b118318c /tools/perf/scripts/python/bin | |
| parent | 4419b8aca8dc1339a8f01c5e9efbed500780131e (diff) | |
[media] videobuf2-core: fix a warning at vb2
It seems that a cut-and-past error were added by the last patch:
drivers/media/video/videobuf2-core.c: In function ‘vb2_qbuf’:
drivers/media/video/videobuf2-core.c:1099:14: warning: comparison between ‘enum v4l2_buf_type’ and ‘enum v4l2_memory’ [-Wenum-compare]
On all places V4L2_MEMORY_USERPTR is used, it is associated with
q->memory, and not b->type. So, the fix seems obvious.
Cc: Andrzej Pietrasiewicz <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Cc: Pawel Osciak <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions