upstream: [media] vb2: Fix comment in __qbuf_dmabuf
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 1 Jan 2014 12:10:48 +0000 (09:10 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:25 +0000 (11:54 +0900)
The comment incorrectly explains that the code verifies information
provided by userspace, while verification has been performed earlier in
reality. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c

index 60407de..17c0b1c 100644 (file)
@@ -1140,7 +1140,7 @@ static int __qbuf_dmabuf(struct vb2_buffer *vb, const struct v4l2_buffer *b)
        int ret;
        int write = !V4L2_TYPE_IS_OUTPUT(q->type);
 
-       /* Verify and copy relevant information provided by the userspace */
+       /* Copy relevant information provided by the userspace */
        __fill_vb2_buffer(vb, b, planes);
 
        for (plane = 0; plane < vb->num_planes; ++plane) {