All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RDMA/rxe: fix a typo in opcode name
@ 2021-12-18 11:23 Chengguang Xu
  2021-12-19  3:36 ` Zhu Yanjun
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chengguang Xu @ 2021-12-18 11:23 UTC (permalink / raw)
  To: zyjzyj2000, jgg; +Cc: linux-rdma, linux-kernel, Chengguang Xu

There is a redundant ']' in the name of opcode IB_OPCODE_RC_SEND_MIDDLE,
so just fix it.

Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
---
 drivers/infiniband/sw/rxe/rxe_opcode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.c b/drivers/infiniband/sw/rxe/rxe_opcode.c
index 3ef5a10a6efd..47ebaac8f475 100644
--- a/drivers/infiniband/sw/rxe/rxe_opcode.c
+++ b/drivers/infiniband/sw/rxe/rxe_opcode.c
@@ -117,7 +117,7 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
 		}
 	},
 	[IB_OPCODE_RC_SEND_MIDDLE]		= {
-		.name	= "IB_OPCODE_RC_SEND_MIDDLE]",
+		.name	= "IB_OPCODE_RC_SEND_MIDDLE",
 		.mask	= RXE_PAYLOAD_MASK | RXE_REQ_MASK | RXE_SEND_MASK
 				| RXE_MIDDLE_MASK,
 		.length = RXE_BTH_BYTES,
-- 
2.27.0



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

* Re: [PATCH] RDMA/rxe: fix a typo in opcode name
  2021-12-18 11:23 [PATCH] RDMA/rxe: fix a typo in opcode name Chengguang Xu
@ 2021-12-19  3:36 ` Zhu Yanjun
  2021-12-20 18:03 ` Bob Pearson
  2022-01-05 19:06 ` Jason Gunthorpe
  2 siblings, 0 replies; 4+ messages in thread
From: Zhu Yanjun @ 2021-12-19  3:36 UTC (permalink / raw)
  To: Chengguang Xu; +Cc: Jason Gunthorpe, RDMA mailing list, LKML

On Sat, Dec 18, 2021 at 7:23 PM Chengguang Xu <cgxu519@mykernel.net> wrote:
>
> There is a redundant ']' in the name of opcode IB_OPCODE_RC_SEND_MIDDLE,
> so just fix it.
>
> Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>

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

Zhu Yanjun

> ---
>  drivers/infiniband/sw/rxe/rxe_opcode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.c b/drivers/infiniband/sw/rxe/rxe_opcode.c
> index 3ef5a10a6efd..47ebaac8f475 100644
> --- a/drivers/infiniband/sw/rxe/rxe_opcode.c
> +++ b/drivers/infiniband/sw/rxe/rxe_opcode.c
> @@ -117,7 +117,7 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
>                 }
>         },
>         [IB_OPCODE_RC_SEND_MIDDLE]              = {
> -               .name   = "IB_OPCODE_RC_SEND_MIDDLE]",
> +               .name   = "IB_OPCODE_RC_SEND_MIDDLE",
>                 .mask   = RXE_PAYLOAD_MASK | RXE_REQ_MASK | RXE_SEND_MASK
>                                 | RXE_MIDDLE_MASK,
>                 .length = RXE_BTH_BYTES,
> --
> 2.27.0
>
>

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

* Re: [PATCH] RDMA/rxe: fix a typo in opcode name
  2021-12-18 11:23 [PATCH] RDMA/rxe: fix a typo in opcode name Chengguang Xu
  2021-12-19  3:36 ` Zhu Yanjun
@ 2021-12-20 18:03 ` Bob Pearson
  2022-01-05 19:06 ` Jason Gunthorpe
  2 siblings, 0 replies; 4+ messages in thread
From: Bob Pearson @ 2021-12-20 18:03 UTC (permalink / raw)
  To: Chengguang Xu, zyjzyj2000, jgg; +Cc: linux-rdma, linux-kernel

On 12/18/21 05:23, Chengguang Xu wrote:
> There is a redundant ']' in the name of opcode IB_OPCODE_RC_SEND_MIDDLE,
> so just fix it.
> 
> Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
> ---
>  drivers/infiniband/sw/rxe/rxe_opcode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.c b/drivers/infiniband/sw/rxe/rxe_opcode.c
> index 3ef5a10a6efd..47ebaac8f475 100644
> --- a/drivers/infiniband/sw/rxe/rxe_opcode.c
> +++ b/drivers/infiniband/sw/rxe/rxe_opcode.c
> @@ -117,7 +117,7 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
>  		}
>  	},
>  	[IB_OPCODE_RC_SEND_MIDDLE]		= {
> -		.name	= "IB_OPCODE_RC_SEND_MIDDLE]",
> +		.name	= "IB_OPCODE_RC_SEND_MIDDLE",
>  		.mask	= RXE_PAYLOAD_MASK | RXE_REQ_MASK | RXE_SEND_MASK
>  				| RXE_MIDDLE_MASK,
>  		.length = RXE_BTH_BYTES,
> 

Looks good

Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com>

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

* Re: [PATCH] RDMA/rxe: fix a typo in opcode name
  2021-12-18 11:23 [PATCH] RDMA/rxe: fix a typo in opcode name Chengguang Xu
  2021-12-19  3:36 ` Zhu Yanjun
  2021-12-20 18:03 ` Bob Pearson
@ 2022-01-05 19:06 ` Jason Gunthorpe
  2 siblings, 0 replies; 4+ messages in thread
From: Jason Gunthorpe @ 2022-01-05 19:06 UTC (permalink / raw)
  To: Chengguang Xu; +Cc: zyjzyj2000, linux-rdma, linux-kernel

On Sat, Dec 18, 2021 at 07:23:20PM +0800, Chengguang Xu wrote:
> There is a redundant ']' in the name of opcode IB_OPCODE_RC_SEND_MIDDLE,
> so just fix it.
> 
> Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
> Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
> Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com>
> ---
>  drivers/infiniband/sw/rxe/rxe_opcode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

I added a fixes line

Jason

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

end of thread, other threads:[~2022-01-05 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-18 11:23 [PATCH] RDMA/rxe: fix a typo in opcode name Chengguang Xu
2021-12-19  3:36 ` Zhu Yanjun
2021-12-20 18:03 ` Bob Pearson
2022-01-05 19:06 ` Jason Gunthorpe

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.