* [PATCH] serial/jsm: fix repeated words in comments
@ 2022-08-22 12:14 Jilin Yuan
2022-08-22 12:22 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Jilin Yuan @ 2022-08-22 12:14 UTC (permalink / raw)
To: gregkh, jirislaby, colin.king; +Cc: linux-serial, linux-kernel, Jilin Yuan
Delete the redundant word 'way'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/tty/serial/jsm/jsm_cls.c | 2 +-
drivers/tty/serial/jsm/jsm_neo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/jsm/jsm_cls.c b/drivers/tty/serial/jsm/jsm_cls.c
index 3fd57ac3ad81..8c2f0038db53 100644
--- a/drivers/tty/serial/jsm/jsm_cls.c
+++ b/drivers/tty/serial/jsm/jsm_cls.c
@@ -403,7 +403,7 @@ static void cls_copy_data_from_uart_to_queue(struct jsm_channel *ch)
/*
* If our queue is full, we have no choice but to drop some
* data. The assumption is that HWFLOW or SWFLOW should have
- * stopped things way way before we got to this point.
+ * stopped things way before we got to this point.
*
* I decided that I wanted to ditch the oldest data first,
* I hope thats okay with everyone? Yes? Good.
diff --git a/drivers/tty/serial/jsm/jsm_neo.c b/drivers/tty/serial/jsm/jsm_neo.c
index 0c78f66276cd..e12dcb5f03ec 100644
--- a/drivers/tty/serial/jsm/jsm_neo.c
+++ b/drivers/tty/serial/jsm/jsm_neo.c
@@ -433,7 +433,7 @@ static void neo_copy_data_from_uart_to_queue(struct jsm_channel *ch)
/*
* If our queue is full, we have no choice but to drop some data.
* The assumption is that HWFLOW or SWFLOW should have stopped
- * things way way before we got to this point.
+ * things way before we got to this point.
*
* I decided that I wanted to ditch the oldest data first,
* I hope thats okay with everyone? Yes? Good.
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] serial/jsm: fix repeated words in comments
2022-08-22 12:14 [PATCH] serial/jsm: fix repeated words in comments Jilin Yuan
@ 2022-08-22 12:22 ` Greg KH
2022-08-23 10:08 ` Bagas Sanjaya
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2022-08-22 12:22 UTC (permalink / raw)
To: Jilin Yuan; +Cc: jirislaby, colin.king, linux-serial, linux-kernel
On Mon, Aug 22, 2022 at 08:14:57PM +0800, Jilin Yuan wrote:
> Delete the redundant word 'way'.
Again, not redundant.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] serial/jsm: fix repeated words in comments
2022-08-22 12:22 ` Greg KH
@ 2022-08-23 10:08 ` Bagas Sanjaya
0 siblings, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2022-08-23 10:08 UTC (permalink / raw)
To: Greg KH; +Cc: Jilin Yuan, jirislaby, colin.king, linux-serial, linux-kernel
On Mon, Aug 22, 2022 at 02:22:14PM +0200, Greg KH wrote:
> On Mon, Aug 22, 2022 at 08:14:57PM +0800, Jilin Yuan wrote:
> > Delete the redundant word 'way'.
>
> Again, not redundant.
Hi Greg,
The original comment means "The assumption is that the flow control
should have stopped the way things are flowed, before the flow got into
the state that some data have to be dropped.".
Thanks.
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-23 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-22 12:14 [PATCH] serial/jsm: fix repeated words in comments Jilin Yuan
2022-08-22 12:22 ` Greg KH
2022-08-23 10:08 ` Bagas Sanjaya
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).