All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] USB: serial: cypress_m8: drop unexpected word "the" in the comments
@ 2022-06-22 10:46 Jiang Jian
  2022-07-13  6:43 ` Johan Hovold
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-22 10:46 UTC (permalink / raw)
  To: johan; +Cc: gregkh, linux-usb, linux-kernel, Jiang Jian

there is an unexpected word "the" in the comments that need to be dropped

file: drivers/usb/serial/cypress_m8.c
line: 259

     * chose to use the the general purpose firmware or not), if you
changed to:
     * chose to use the general purpose firmware or not), if you

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/usb/serial/cypress_m8.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index 6924fa95f6bd..da8913683104 100644
--- a/drivers/usb/serial/cypress_m8.c
+++ b/drivers/usb/serial/cypress_m8.c
@@ -256,7 +256,7 @@ static int analyze_baud_rate(struct usb_serial_port *port, speed_t new_rate)
 		/*
 		 * Mike Isely <isely@pobox.com> 2-Feb-2008: The
 		 * Cypress app note that describes this mechanism
-		 * states the the low-speed part can't handle more
+		 * states the low-speed part can't handle more
 		 * than 800 bytes/sec, in which case 4800 baud is the
 		 * safest speed for a part like that.
 		 */
-- 
2.17.1


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

* Re: [PATCH] USB: serial: cypress_m8: drop unexpected word "the" in the comments
  2022-06-22 10:46 [PATCH] USB: serial: cypress_m8: drop unexpected word "the" in the comments Jiang Jian
@ 2022-07-13  6:43 ` Johan Hovold
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2022-07-13  6:43 UTC (permalink / raw)
  To: Jiang Jian; +Cc: gregkh, linux-usb, linux-kernel

On Wed, Jun 22, 2022 at 06:46:08PM +0800, Jiang Jian wrote:
> there is an unexpected word "the" in the comments that need to be dropped
> 
> file: drivers/usb/serial/cypress_m8.c
> line: 259
> 
>      * chose to use the the general purpose firmware or not), if you
> changed to:
>      * chose to use the general purpose firmware or not), if you
> 
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> ---
>  drivers/usb/serial/cypress_m8.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
> index 6924fa95f6bd..da8913683104 100644
> --- a/drivers/usb/serial/cypress_m8.c
> +++ b/drivers/usb/serial/cypress_m8.c
> @@ -256,7 +256,7 @@ static int analyze_baud_rate(struct usb_serial_port *port, speed_t new_rate)
>  		/*
>  		 * Mike Isely <isely@pobox.com> 2-Feb-2008: The
>  		 * Cypress app note that describes this mechanism
> -		 * states the the low-speed part can't handle more
> +		 * states the low-speed part can't handle more

I believe the first "the" should be replaced with "that" here.

>  		 * than 800 bytes/sec, in which case 4800 baud is the
>  		 * safest speed for a part like that.
>  		 */

I've fixed up the above, merged this patch with the other one for
mos7720 and amended the commit message.

The result can be found here:

	https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git/commit/?h=usb-next

Johan

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

end of thread, other threads:[~2022-07-13  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 10:46 [PATCH] USB: serial: cypress_m8: drop unexpected word "the" in the comments Jiang Jian
2022-07-13  6:43 ` Johan Hovold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.