2019-09-26 11:25:14

by Colin King

[permalink] [raw]
Subject: [PATCH] net: ena: clean up indentation issue

From: Colin Ian King <[email protected]>

There memset is indented incorrectly, remove the extraneous tabs.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/net/ethernet/amazon/ena/ena_eth_com.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/amazon/ena/ena_eth_com.c b/drivers/net/ethernet/amazon/ena/ena_eth_com.c
index 38046bf0ff44..2845ac277724 100644
--- a/drivers/net/ethernet/amazon/ena/ena_eth_com.c
+++ b/drivers/net/ethernet/amazon/ena/ena_eth_com.c
@@ -211,8 +211,8 @@ static int ena_com_sq_update_llq_tail(struct ena_com_io_sq *io_sq)

pkt_ctrl->curr_bounce_buf =
ena_com_get_next_bounce_buffer(&io_sq->bounce_buf_ctrl);
- memset(io_sq->llq_buf_ctrl.curr_bounce_buf,
- 0x0, llq_info->desc_list_entry_size);
+ memset(io_sq->llq_buf_ctrl.curr_bounce_buf,
+ 0x0, llq_info->desc_list_entry_size);

pkt_ctrl->idx = 0;
if (unlikely(llq_info->desc_stride_ctrl == ENA_ADMIN_SINGLE_DESC_PER_ENTRY))
--
2.20.1


2019-09-26 12:20:11

by Kiyanovski, Arthur

[permalink] [raw]
Subject: RE: [PATCH] net: ena: clean up indentation issue

> -----Original Message-----
> From: Colin King <[email protected]>
> Sent: Thursday, September 26, 2019 2:23 PM
> To: Belgazal, Netanel <[email protected]>; Bshara, Saeed
> <[email protected]>; Machulsky, Zorik <[email protected]>; David S .
> Miller <[email protected]>; Kiyanovski, Arthur <[email protected]>;
> Jubran, Samih <[email protected]>; [email protected]
> Cc: [email protected]; [email protected]
> Subject: [PATCH] net: ena: clean up indentation issue
>
> From: Colin Ian King <[email protected]>
>
> There memset is indented incorrectly, remove the extraneous tabs.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/net/ethernet/amazon/ena/ena_eth_com.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/amazon/ena/ena_eth_com.c
> b/drivers/net/ethernet/amazon/ena/ena_eth_com.c
> index 38046bf0ff44..2845ac277724 100644
> --- a/drivers/net/ethernet/amazon/ena/ena_eth_com.c
> +++ b/drivers/net/ethernet/amazon/ena/ena_eth_com.c
> @@ -211,8 +211,8 @@ static int ena_com_sq_update_llq_tail(struct
> ena_com_io_sq *io_sq)
>
> pkt_ctrl->curr_bounce_buf =
> ena_com_get_next_bounce_buffer(&io_sq-
> >bounce_buf_ctrl);
> - memset(io_sq->llq_buf_ctrl.curr_bounce_buf,
> - 0x0, llq_info->desc_list_entry_size);
> + memset(io_sq->llq_buf_ctrl.curr_bounce_buf,
> + 0x0, llq_info->desc_list_entry_size);
>
> pkt_ctrl->idx = 0;
> if (unlikely(llq_info->desc_stride_ctrl ==
> ENA_ADMIN_SINGLE_DESC_PER_ENTRY))
> --
> 2.20.1

LGTM Thanks!

2019-09-27 18:34:00

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] net: ena: clean up indentation issue

From: Colin King <[email protected]>
Date: Thu, 26 Sep 2019 12:22:52 +0100

> From: Colin Ian King <[email protected]>
>
> There memset is indented incorrectly, remove the extraneous tabs.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied.