mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@kernel.org>
To: Xiang wangx <wangxiang@cdjrlc.com>, gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tty/ldsem: Fix syntax errors in comments
Date: Wed, 8 Dec 2021 07:21:17 +0100	[thread overview]
Message-ID: <cf8de843-fb92-3ce6-2617-d324f4d0e411@kernel.org> (raw)
In-Reply-To: <20211205161544.12104-1-wangxiang@cdjrlc.com>

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

      reply	other threads:[~2021-12-08  6:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-05 16:15 Xiang wangx
2021-12-08  6:21 ` Jiri Slaby [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cf8de843-fb92-3ce6-2617-d324f4d0e411@kernel.org \
    --to=jirislaby@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wangxiang@cdjrlc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®