lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 27 May 2021 05:29:36 +0300
From:   Laurent Pinchart <laurent.pinchart@...asonboard.com>
To:     lijian_8010a29@....com
Cc:     mchehab@...nel.org, hverkuil-cisco@...all.nl, arnd@...db.de,
        sakari.ailus@...ux.intel.com, sergey.senozhatsky@...il.com,
        gustavoars@...nel.org, yepeilin.cs@...il.com,
        linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
        lijian <lijian@...ong.com>
Subject: Re: [PATCH] media: v4l2-ioctl: deleted the repeated word 'the' in
 the comments

On Thu, May 27, 2021 at 09:52:43AM +0800, lijian_8010a29@....com wrote:
> From: lijian <lijian@...ong.com>
> 
> deleted the repeated word 'the' in the comments of function
>  v4l_sanitize_format()
> 
> Signed-off-by: lijian <lijian@...ong.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

Powered by blists - more mailing lists