Re: [PATCH] tty/ldsem: Fix syntax errors in comments

From: Jiri Slaby
Date: Wed Dec 08 2021 - 01:21:23 EST


On 05. 12. 21, 17:15, Xiang wangx wrote:
Delete the redundant word 'are'

Signed-off-by: Xiang wangx <wangxiang@xxxxxxxxxx>

Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

Maybe you can add also a period to the end of the sentence.

---
drivers/tty/tty_ldsem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/tty_ldsem.c b/drivers/tty/tty_ldsem.c
index ce8291053af3..3be428c16260 100644
--- a/drivers/tty/tty_ldsem.c
+++ b/drivers/tty/tty_ldsem.c
@@ -163,7 +163,7 @@ down_read_failed(struct ld_semaphore *sem, long count, long timeout)
/*
* Try to reverse the lock attempt but if the count has changed
- * so that reversing fails, check if there are are no waiters,
+ * so that reversing fails, check if there are no waiters,
* and early-out if not
*/
do {



--
js