From: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
To: Xiang wangx <wangxiang@cdjrlc.com>,
jgg@ziepe.ca, leon@kernel.org, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RDMA/hw/hfi1/pio_copy: Fix syntax errors in comments
Date: Mon, 6 Jun 2022 07:57:24 -0400 [thread overview]
Message-ID: <44f9d01f-d928-c430-00fa-229d6bb5550d@cornelisnetworks.com> (raw)
In-Reply-To: <20220605090508.12124-1-wangxiang@cdjrlc.com>
On 6/5/22 5:05 AM, Xiang wangx wrote:
> Delete the redundant word 'and'.
>
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
> drivers/infiniband/hw/hfi1/pio_copy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/hfi1/pio_copy.c b/drivers/infiniband/hw/hfi1/pio_copy.c
> index 136f9a99e1e0..7690f996d5e3 100644
> --- a/drivers/infiniband/hw/hfi1/pio_copy.c
> +++ b/drivers/infiniband/hw/hfi1/pio_copy.c
> @@ -172,7 +172,7 @@ static inline void jcopy(u8 *dest, const u8 *src, u32 n)
> }
>
> /*
> - * Read nbytes from "from" and and place them in the low bytes
> + * Read nbytes from "from" and place them in the low bytes
> * of pbuf->carry. Other bytes are left as-is. Any previous
> * value in pbuf->carry is lost.
> *
Don't know that I would call this a "syntax" error. Perhaps change subject to
say "Fix typo in comment"
-Denny
prev parent reply other threads:[~2022-06-06 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-05 9:05 Xiang wangx
2022-06-06 11:57 ` Dennis Dalessandro [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=44f9d01f-d928-c430-00fa-229d6bb5550d@cornelisnetworks.com \
--to=dennis.dalessandro@cornelisnetworks.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@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®