All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IB/rxe: Get rid of redundant plus
@ 2021-12-16  8:43 Li Zhijian
  2022-01-03  8:11 ` Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Li Zhijian @ 2021-12-16  8:43 UTC (permalink / raw)
  To: zyjzyj2000, jgg; +Cc: linux-rdma, linux-kernel, Li Zhijian

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
---
 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




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

* Re: [PATCH] IB/rxe: Get rid of redundant plus
  2021-12-16  8:43 [PATCH] IB/rxe: Get rid of redundant plus Li Zhijian
@ 2022-01-03  8:11 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2022-01-03  8:11 UTC (permalink / raw)
  To: Li Zhijian; +Cc: zyjzyj2000, jgg, linux-rdma, linux-kernel

On Thu, Dec 16, 2021 at 04:43:44PM +0800, Li Zhijian wrote:
> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
> ---
>  drivers/infiniband/sw/rxe/rxe_opcode.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Please refrain from empty commit messages.

The change is ok.

Thanks

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

end of thread, other threads:[~2022-01-03  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16  8:43 [PATCH] IB/rxe: Get rid of redundant plus Li Zhijian
2022-01-03  8:11 ` Leon Romanovsky

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.