netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ena: clean up indentation issue
@ 2019-09-26 11:22 Colin King
  2019-09-26 12:17 ` Kiyanovski, Arthur
  2019-09-27 18:32 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2019-09-26 11:22 UTC (permalink / raw)
  To: Netanel Belgazal, Saeed Bishara, Zorik Machulsky,
	David S . Miller, Arthur Kiyanovski, Sameeh Jubran, netdev
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There memset is indented incorrectly, remove the extraneous tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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


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

* RE: [PATCH] net: ena: clean up indentation issue
  2019-09-26 11:22 [PATCH] net: ena: clean up indentation issue Colin King
@ 2019-09-26 12:17 ` Kiyanovski, Arthur
  2019-09-27 18:32 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Kiyanovski, Arthur @ 2019-09-26 12:17 UTC (permalink / raw)
  To: Colin King, Belgazal, Netanel, Bshara, Saeed, Machulsky, Zorik,
	David S . Miller, Jubran, Samih, netdev
  Cc: kernel-janitors, linux-kernel

> -----Original Message-----
> From: Colin King <colin.king@canonical.com>
> Sent: Thursday, September 26, 2019 2:23 PM
> To: Belgazal, Netanel <netanel@amazon.com>; Bshara, Saeed
> <saeedb@amazon.com>; Machulsky, Zorik <zorik@amazon.com>; David S .
> Miller <davem@davemloft.net>; Kiyanovski, Arthur <akiyano@amazon.com>;
> Jubran, Samih <sameehj@amazon.com>; netdev@vger.kernel.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [PATCH] net: ena: clean up indentation issue
> 
> From: Colin Ian King <colin.king@canonical.com>
> 
> There memset is indented incorrectly, remove the extraneous tabs.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  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! 

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

* Re: [PATCH] net: ena: clean up indentation issue
  2019-09-26 11:22 [PATCH] net: ena: clean up indentation issue Colin King
  2019-09-26 12:17 ` Kiyanovski, Arthur
@ 2019-09-27 18:32 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2019-09-27 18:32 UTC (permalink / raw)
  To: colin.king
  Cc: netanel, saeedb, zorik, akiyano, sameehj, netdev,
	kernel-janitors, linux-kernel

From: Colin King <colin.king@canonical.com>
Date: Thu, 26 Sep 2019 12:22:52 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> There memset is indented incorrectly, remove the extraneous tabs.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

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

end of thread, other threads:[~2019-09-27 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-26 11:22 [PATCH] net: ena: clean up indentation issue Colin King
2019-09-26 12:17 ` Kiyanovski, Arthur
2019-09-27 18:32 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).