mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: v4l2-ioctl: deleted the repeated word 'the' in the comments
@ 2021-05-27  1:52 lijian_8010a29
  2021-05-27  2:29 ` Laurent Pinchart
  0 siblings, 1 reply; 2+ messages in thread
From: lijian_8010a29 @ 2021-05-27  1:52 UTC (permalink / raw)
  To: mchehab, hverkuil-cisco, laurent.pinchart, arnd, sakari.ailus,
	sergey.senozhatsky, gustavoars, yepeilin.cs
  Cc: linux-media, linux-kernel, lijian

From: lijian <lijian@yulong.com>

deleted the repeated word 'the' in the comments of function
 v4l_sanitize_format()

Signed-off-by: lijian <lijian@yulong.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 2673f51aafa4..5a232fd32cf3 100644
--- a/drivers/media/v4l2-core/v4l2-ioctl.c
+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
@@ -999,7 +999,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.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: v4l2-ioctl: deleted the repeated word 'the' in the comments
  2021-05-27  1:52 [PATCH] media: v4l2-ioctl: deleted the repeated word 'the' in the comments lijian_8010a29
@ 2021-05-27  2:29 ` Laurent Pinchart
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2021-05-27  2:29 UTC (permalink / raw)
  To: lijian_8010a29
  Cc: mchehab, hverkuil-cisco, arnd, sakari.ailus, sergey.senozhatsky,
	gustavoars, yepeilin.cs, linux-media, linux-kernel, lijian

On Thu, May 27, 2021 at 09:52:43AM +0800, lijian_8010a29@163.com wrote:
> From: lijian <lijian@yulong.com>
> 
> deleted the repeated word 'the' in the comments of function
>  v4l_sanitize_format()
> 
> Signed-off-by: lijian <lijian@yulong.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 2673f51aafa4..5a232fd32cf3 100644
> --- a/drivers/media/v4l2-core/v4l2-ioctl.c
> +++ b/drivers/media/v4l2-core/v4l2-ioctl.c
> @@ -999,7 +999,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

The original intent may have been to write "... indicates that the ...".

>  	 * 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:[~2021-05-27  2:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  1:52 [PATCH] media: v4l2-ioctl: deleted the repeated word 'the' in the comments lijian_8010a29
2021-05-27  2:29 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®