All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tty/ldsem: Fix syntax errors in comments
@ 2021-12-05 16:15 Xiang wangx
  2021-12-08  6:21 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2021-12-05 16:15 UTC (permalink / raw)
  To: gregkh; +Cc: jirislaby, linux-kernel, Xiang wangx

Delete the redundant word 'are'

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 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 {
-- 
2.20.1


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

* Re: [PATCH] tty/ldsem: Fix syntax errors in comments
  2021-12-05 16:15 [PATCH] tty/ldsem: Fix syntax errors in comments Xiang wangx
@ 2021-12-08  6:21 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2021-12-08  6:21 UTC (permalink / raw)
  To: Xiang wangx, gregkh; +Cc: linux-kernel

On 05. 12. 21, 17:15, Xiang wangx wrote:
> Delete the redundant word 'are'
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>

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

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

end of thread, other threads:[~2021-12-08  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-05 16:15 [PATCH] tty/ldsem: Fix syntax errors in comments Xiang wangx
2021-12-08  6:21 ` Jiri Slaby

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.