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:   Sat, 16 Jul 2022 13:04:39 -0400
From:   Alan Stern <stern@...land.harvard.edu>
To:     Jilin Yuan <yuanjilin@...rlc.com>
Cc:     gregkh@...uxfoundation.org, mathias.nyman@...el.com,
        linux-usb@...r.kernel.org, inux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb/host: fix repeated words in comments

On Sat, Jul 16, 2022 at 09:31:29PM +0800, Jilin Yuan wrote:
>  Delete the redundant word 'to'.
>  Delete the redundant word 'the'.
>  Delete the redundant word 'then'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
> ---
>  drivers/usb/host/uhci-platform.c | 2 +-
>  drivers/usb/host/uhci-q.c        | 2 +-
>  drivers/usb/host/xhci-ring.c     | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
> index b2049b47a08d..c7ef58c05276 100644
> --- a/drivers/usb/host/uhci-platform.c
> +++ b/drivers/usb/host/uhci-platform.c
> @@ -20,7 +20,7 @@ static int uhci_platform_init(struct usb_hcd *hcd)
>  	if (!uhci->rh_numports)
>  		uhci->rh_numports = uhci_count_ports(hcd);
>  
> -	/* Set up pointers to to generic functions */
> +	/* Set up pointers to generic functions */

This isn't a mistakenly repeated word; it is a misspelled word.  The 
second "to" should be "the".

>  	uhci->reset_hc = uhci_generic_reset_hc;
>  	uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc;
>  
> diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c
> index 35fcb826152c..e7f4c1f28349 100644
> --- a/drivers/usb/host/uhci-q.c
> +++ b/drivers/usb/host/uhci-q.c
> @@ -345,7 +345,7 @@ static int uhci_cleanup_queue(struct uhci_hcd *uhci, struct uhci_qh *qh,
>  		goto done;
>  	}
>  
> -	/* If the QH element pointer is UHCI_PTR_TERM then then currently
> +	/* If the QH element pointer is UHCI_PTR_TERM then currently

This isn't a mistakenly repeated word; it is also a misspelling.  The 
second "then" should be "the".

Alan Stern

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ