From: Laurent Pinchart Date: Wed, 1 Jan 2014 12:10:48 +0000 (-0300) Subject: [media] vb2: Fix comment in __qbuf_dmabuf X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6f546c5ff9b5abd64144708e00748084a91492c3;p=linux-beck.git [media] vb2: Fix comment in __qbuf_dmabuf 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c index 098df28b021a..5a5fb7f09b7b 100644 --- a/drivers/media/v4l2-core/videobuf2-core.c +++ b/drivers/media/v4l2-core/videobuf2-core.c @@ -1138,7 +1138,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) {