2021-06-05 13:06:22

by Colin King

[permalink] [raw]
Subject: [PATCH] RDMA/irdma: remove extraneous indentation on a statement

From: Colin Ian King <[email protected]>

A single statement is indented one level too deeply, clean up the
code by removing the extraneous tab.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/infiniband/hw/irdma/verbs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
index 294155293243..65cb58cb32e1 100644
--- a/drivers/infiniband/hw/irdma/verbs.c
+++ b/drivers/infiniband/hw/irdma/verbs.c
@@ -3442,7 +3442,7 @@ static void irdma_process_cqe(struct ib_wc *entry,
entry->src_qp = cq_poll_info->qp_id;
}

- entry->byte_len = cq_poll_info->bytes_xfered;
+ entry->byte_len = cq_poll_info->bytes_xfered;
}

/**
--
2.31.1


2021-06-07 14:57:51

by Shiraz Saleem

[permalink] [raw]
Subject: RE: [PATCH] RDMA/irdma: remove extraneous indentation on a statement

> Subject: [PATCH] RDMA/irdma: remove extraneous indentation on a statement
>
> From: Colin Ian King <[email protected]>
>
> A single statement is indented one level too deeply, clean up the code by
> removing the extraneous tab.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/infiniband/hw/irdma/verbs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/irdma/verbs.c b/drivers/infiniband/hw/irdma/verbs.c
> index 294155293243..65cb58cb32e1 100644
> --- a/drivers/infiniband/hw/irdma/verbs.c
> +++ b/drivers/infiniband/hw/irdma/verbs.c
> @@ -3442,7 +3442,7 @@ static void irdma_process_cqe(struct ib_wc *entry,
> entry->src_qp = cq_poll_info->qp_id;
> }
>
> - entry->byte_len = cq_poll_info->bytes_xfered;
> + entry->byte_len = cq_poll_info->bytes_xfered;

Acked-by: Shiraz Saleem <[email protected]>

2021-06-07 23:48:57

by Jason Gunthorpe

[permalink] [raw]
Subject: Re: [PATCH] RDMA/irdma: remove extraneous indentation on a statement

On Sat, Jun 05, 2021 at 02:04:00PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> A single statement is indented one level too deeply, clean up the
> code by removing the extraneous tab.
>
> Signed-off-by: Colin Ian King <[email protected]>
> Acked-by: Shiraz Saleem <[email protected]>
> ---
> drivers/infiniband/hw/irdma/verbs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason