* [PATCH] media: v4l2: Fix comment typo
@ 2022-08-04 12:05 Jason Wang
2022-08-04 16:19 ` Laurent Pinchart
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-08-04 12:05 UTC (permalink / raw)
To: mchehab
Cc: hverkuil-cisco, laurent.pinchart, ezequiel, sakari.ailus,
ribalda, linux-media, linux-kernel, Jason Wang
The double `the' is duplicated in the comment, remove one.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
drivers/media/v4l2-core/v4l2-ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
index e6fd355a2e92..af75edee898c 100644
--- a/drivers/media/v4l2-core/v4l2-ioctl.c
+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
@@ -1045,7 +1045,7 @@ static void v4l_sanitize_format(struct v4l2_format *fmt)
/*
* The v4l2_pix_format structure has been extended with fields that were
* not previously required to be set to zero by applications. The priv
- * field, when set to a magic value, indicates the the extended fields
+ * field, when set to a magic value, indicates the extended fields
* are valid. Otherwise they will contain undefined values. To simplify
* the API towards drivers zero the extended fields and set the priv
* field to the magic value when the extended pixel format structure
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] media: v4l2: Fix comment typo
2022-08-04 12:05 [PATCH] media: v4l2: Fix comment typo Jason Wang
@ 2022-08-04 16:19 ` Laurent Pinchart
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2022-08-04 16:19 UTC (permalink / raw)
To: Jason Wang
Cc: mchehab, hverkuil-cisco, ezequiel, sakari.ailus, ribalda,
linux-media, linux-kernel
Hi Jason,
On Thu, Aug 04, 2022 at 08:05:04PM +0800, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
> drivers/media/v4l2-core/v4l2-ioctl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
> index e6fd355a2e92..af75edee898c 100644
> --- a/drivers/media/v4l2-core/v4l2-ioctl.c
> +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
> @@ -1045,7 +1045,7 @@ static void v4l_sanitize_format(struct v4l2_format *fmt)
> /*
> * The v4l2_pix_format structure has been extended with fields that were
> * not previously required to be set to zero by applications. The priv
> - * field, when set to a magic value, indicates the the extended fields
> + * field, when set to a magic value, indicates the extended fields
I wonder if the original intent was to write "indicates that the
extended fields ...".
> * are valid. Otherwise they will contain undefined values. To simplify
> * the API towards drivers zero the extended fields and set the priv
> * field to the magic value when the extended pixel format structure
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-04 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 12:05 [PATCH] media: v4l2: Fix comment typo Jason Wang
2022-08-04 16:19 ` Laurent Pinchart
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.