From: Mauro Carvalho Chehab Date: Fri, 30 Dec 2011 18:10:44 +0000 (-0200) Subject: [media] videobuf2-core: fix a warning at vb2 X-Git-Tag: v3.3-rc1~48^2~375 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e43cfb6cf9b88d776f3193f12cd6f81177bd6e;p=pandora-kernel.git [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 Cc: Kyungmin Park Cc: Marek Szyprowski Cc: Pawel Osciak Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed