diff mbox series

[v2] media: v4l2-ioctl: deleted the repeated word 'the' in the comments

Message ID 20210527064107.149950-1-lijian_8010a29@163.com (mailing list archive)
State New, archived
Headers show
Series [v2] media: v4l2-ioctl: deleted the repeated word 'the' in the comments | expand

Commit Message

lijian_8010a29@163.com May 27, 2021, 6:41 a.m. UTC
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(-)

Comments

Joe Perches May 27, 2021, 6:48 a.m. UTC | #1
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
diff mbox series

Patch

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