* [PATCH] v4l: videobuf2: Fix typos in comments
@ 2014-09-11 22:43 Laurent Pinchart
2014-09-12 6:58 ` Marek Szyprowski
2014-09-12 8:55 ` Sakari Ailus
0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2014-09-11 22:43 UTC (permalink / raw)
To: linux-media; +Cc: Pawel Osciak, Marek Szyprowski, Sakari Ailus
The buffer flags are incorrectly referred to as V4L2_BUF_FLAGS_* instead
of V4L2_BUF_FLAG_* in comments. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
include/media/videobuf2-core.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index 5a10d8d..5901b24 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -356,8 +356,8 @@ struct v4l2_fh;
* @buf_struct_size: size of the driver-specific buffer structure;
* "0" indicates the driver doesn't want to use a custom buffer
* structure type, so sizeof(struct vb2_buffer) will is used
- * @timestamp_flags: Timestamp flags; V4L2_BUF_FLAGS_TIMESTAMP_* and
- * V4L2_BUF_FLAGS_TSTAMP_SRC_*
+ * @timestamp_flags: Timestamp flags; V4L2_BUF_FLAG_TIMESTAMP_* and
+ * V4L2_BUF_FLAG_TSTAMP_SRC_*
* @gfp_flags: additional gfp flags used when allocating the buffers.
* Typically this is 0, but it may be e.g. GFP_DMA or __GFP_DMA32
* to force the buffer allocation to a specific memory zone.
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] v4l: videobuf2: Fix typos in comments
2014-09-11 22:43 [PATCH] v4l: videobuf2: Fix typos in comments Laurent Pinchart
@ 2014-09-12 6:58 ` Marek Szyprowski
2014-09-12 8:55 ` Sakari Ailus
1 sibling, 0 replies; 3+ messages in thread
From: Marek Szyprowski @ 2014-09-12 6:58 UTC (permalink / raw)
To: Laurent Pinchart, linux-media; +Cc: Pawel Osciak, Sakari Ailus
Hello,
On 2014-09-12 00:43, Laurent Pinchart wrote:
> The buffer flags are incorrectly referred to as V4L2_BUF_FLAGS_* instead
> of V4L2_BUF_FLAG_* in comments. Fix it.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
> include/media/videobuf2-core.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
> index 5a10d8d..5901b24 100644
> --- a/include/media/videobuf2-core.h
> +++ b/include/media/videobuf2-core.h
> @@ -356,8 +356,8 @@ struct v4l2_fh;
> * @buf_struct_size: size of the driver-specific buffer structure;
> * "0" indicates the driver doesn't want to use a custom buffer
> * structure type, so sizeof(struct vb2_buffer) will is used
> - * @timestamp_flags: Timestamp flags; V4L2_BUF_FLAGS_TIMESTAMP_* and
> - * V4L2_BUF_FLAGS_TSTAMP_SRC_*
> + * @timestamp_flags: Timestamp flags; V4L2_BUF_FLAG_TIMESTAMP_* and
> + * V4L2_BUF_FLAG_TSTAMP_SRC_*
> * @gfp_flags: additional gfp flags used when allocating the buffers.
> * Typically this is 0, but it may be e.g. GFP_DMA or __GFP_DMA32
> * to force the buffer allocation to a specific memory zone.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] v4l: videobuf2: Fix typos in comments
2014-09-11 22:43 [PATCH] v4l: videobuf2: Fix typos in comments Laurent Pinchart
2014-09-12 6:58 ` Marek Szyprowski
@ 2014-09-12 8:55 ` Sakari Ailus
1 sibling, 0 replies; 3+ messages in thread
From: Sakari Ailus @ 2014-09-12 8:55 UTC (permalink / raw)
To: Laurent Pinchart, linux-media; +Cc: Pawel Osciak, Marek Szyprowski
Laurent Pinchart wrote:
> The buffer flags are incorrectly referred to as V4L2_BUF_FLAGS_* instead
> of V4L2_BUF_FLAG_* in comments. Fix it.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Thanks!
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
--
Sakari Ailus
sakari.ailus@iki.fi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-12 8:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11 22:43 [PATCH] v4l: videobuf2: Fix typos in comments Laurent Pinchart
2014-09-12 6:58 ` Marek Szyprowski
2014-09-12 8:55 ` Sakari Ailus
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.