Skip to content

Commit

Permalink
net/ena/base: fix indentation of multiple defines
Browse files Browse the repository at this point in the history
[ upstream commit 5dcdfbf ]

As the alignment of the defines wasn't valid, it was removed at all, so
instead of using multiple spaces or tabs, the single space after define
name is being used.

Fixes: 99ecfbf ("ena: import communication layer")

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
  • Loading branch information
Gerwand authored and kevintraynor committed May 27, 2020
1 parent 17d3b48 commit c0e2971
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ena/base/ena_com.h
Expand Up @@ -37,9 +37,9 @@
#include "ena_plat.h"
#include "ena_includes.h"

#define ENA_MAX_NUM_IO_QUEUES 128U
#define ENA_MAX_NUM_IO_QUEUES 128U
/* We need to queues for each IO (on for Tx and one for Rx) */
#define ENA_TOTAL_NUM_QUEUES (2 * (ENA_MAX_NUM_IO_QUEUES))
#define ENA_TOTAL_NUM_QUEUES (2 * (ENA_MAX_NUM_IO_QUEUES))

#define ENA_MAX_HANDLERS 256

Expand Down Expand Up @@ -84,7 +84,7 @@
#define ENA_INTR_MODER_LEVEL_STRIDE 1
#define ENA_INTR_BYTE_COUNT_NOT_SUPPORTED 0xFFFFFF

#define ENA_HW_HINTS_NO_TIMEOUT 0xFFFF
#define ENA_HW_HINTS_NO_TIMEOUT 0xFFFF

enum ena_intr_moder_level {
ENA_INTR_MODER_LOWEST = 0,
Expand Down

0 comments on commit c0e2971

Please sign in to comment.