lkml.org 
[lkml]   [2021]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] tty/ldsem: Fix syntax errors in comments
From
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

\
 
 \ /
  Last update: 2021-12-08 07:21    [W:0.052 / U:1.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site