All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhu Yanjun <zyjzyj2000@gmail.com>
To: Li Zhijian <lizhijian@fujitsu.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,
	RDMA mailing list <linux-rdma@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Li Zhijian <lizhijian@cn.fujitsu.com>
Subject: Re: [PATCH v2] RDMA/rxe: Get rid of redundant plus
Date: Tue, 4 Jan 2022 10:46:27 +0800	[thread overview]
Message-ID: <CAD=hENd7dQPVAOrLvZwQG=SHRdnzN-Y4Ag3V_b5vUTzh6Y0YjQ@mail.gmail.com> (raw)
In-Reply-To: <20220104012406.27580-1-lizhijian@fujitsu.com>

On Tue, Jan 4, 2022 at 9:25 AM Li Zhijian <lizhijian@fujitsu.com> wrote:
>
> From: Li Zhijian <lizhijian@cn.fujitsu.com>
>
> Get rid of the duplicate plus in a line to be consistent with others.
>
> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>

Reviewed-by: Zhu Yanjun <zyjzyj2000@gmail.com>

Zhu Yanjun

> ---
>  drivers/infiniband/sw/rxe/rxe_opcode.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.c b/drivers/infiniband/sw/rxe/rxe_opcode.c
> index 3ef5a10a6efd..79122eeb4d82 100644
> --- a/drivers/infiniband/sw/rxe/rxe_opcode.c
> +++ b/drivers/infiniband/sw/rxe/rxe_opcode.c
> @@ -879,9 +879,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
>                         [RXE_ATMETH]    = RXE_BTH_BYTES
>                                                 + RXE_RDETH_BYTES
>                                                 + RXE_DETH_BYTES,
> -                       [RXE_PAYLOAD]   = RXE_BTH_BYTES +
> +                       [RXE_PAYLOAD]   = RXE_BTH_BYTES
>                                                 + RXE_ATMETH_BYTES
> -                                               + RXE_DETH_BYTES +
> +                                               + RXE_DETH_BYTES
>                                                 + RXE_RDETH_BYTES,
>                 }
>         },
> @@ -900,9 +900,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
>                         [RXE_ATMETH]    = RXE_BTH_BYTES
>                                                 + RXE_RDETH_BYTES
>                                                 + RXE_DETH_BYTES,
> -                       [RXE_PAYLOAD]   = RXE_BTH_BYTES +
> +                       [RXE_PAYLOAD]   = RXE_BTH_BYTES
>                                                 + RXE_ATMETH_BYTES
> -                                               + RXE_DETH_BYTES +
> +                                               + RXE_DETH_BYTES
>                                                 + RXE_RDETH_BYTES,
>                 }
>         },
> --
> 2.33.0
>
>
>

  reply	other threads:[~2022-01-04  2:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04  1:24 [PATCH v2] RDMA/rxe: Get rid of redundant plus Li Zhijian
2022-01-04  2:46 ` Zhu Yanjun [this message]
2022-01-04  7:54 ` Christoph Hellwig
2022-01-04 10:38   ` lizhijian

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='CAD=hENd7dQPVAOrLvZwQG=SHRdnzN-Y4Ag3V_b5vUTzh6Y0YjQ@mail.gmail.com' \
    --to=zyjzyj2000@gmail.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=lizhijian@cn.fujitsu.com \
    --cc=lizhijian@fujitsu.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 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.