linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] media: v4l2-ioctl: deleted the repeated word 'the' in the comments
@ 2021-05-27  6:41 lijian_8010a29
  2021-05-27  6:48 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: lijian_8010a29 @ 2021-05-27  6:41 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>
---
v2: changed the repeated word 'the' to 'that' in the comments of
function v4l_sanitize_format()

 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 5a232fd32cf3..eea9412ba153 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 extended fields
+	 * field, when set to a magic value, 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
-- 
2.25.1



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

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

On Thu, 2021-05-27 at 14:41 +0800, lijian_8010a29@163.com wrote:
> From: lijian <lijian@yulong.com>
> 
> deleted the repeated word 'the' in the comments of function
> v4l_sanitize_format()

Please update the suggested commit log message too as it
doesn't match the patch.

> ---
> v2: changed the repeated word 'the' to 'that' in the comments of
> function v4l_sanitize_format()
[]
> diff --git 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 extended fields
> +	 * field, when set to a magic value, 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



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

end of thread, other threads:[~2021-05-27  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  6:41 [PATCH v2] media: v4l2-ioctl: deleted the repeated word 'the' in the comments lijian_8010a29
2021-05-27  6:48 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).