diff mbox series

[ovs-dev] dpif-netdev.c : Fix indentation.

Message ID ME3PR01MB578185115F94F836255D6404CD2B9@ME3PR01MB5781.ausprd01.prod.outlook.com
State Rejected
Headers show
Series [ovs-dev] dpif-netdev.c : Fix indentation. | expand

Commit Message

lin huang May 19, 2021, 3:48 p.m. UTC
dpif-netdev.c : Fix indentation.
Add extra space to fix indentation.

Signed-off-by: miter <linhuang@ruijie.com.cn>
---

Comments

Ilya Maximets May 24, 2021, 11:41 a.m. UTC | #1
On 5/19/21 5:48 PM, lin huang wrote:
> dpif-netdev.c : Fix indentation.
> Add extra space to fix indentation.
> 
> Signed-off-by: miter <linhuang@ruijie.com.cn>
> ---
> diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
> index 816945375..dc77fa2fa 100644
> --- a/lib/dpif-netdev.c
> +++ b/lib/dpif-netdev.c
> @@ -7404,7 +7404,7 @@ dp_netdev_input__(struct dp_netdev_pmd_thread *pmd,
>      enum { PKT_ARRAY_SIZE = NETDEV_MAX_BURST };
>  #endif
>      OVS_ALIGNED_VAR(CACHE_LINE_SIZE)
> -        struct netdev_flow_key keys[PKT_ARRAY_SIZE];
> +    struct netdev_flow_key keys[PKT_ARRAY_SIZE];

Hi.  This is a continuation of a previous line. So, the
indentation is correct.

Best regards, Ilya Maximets.
diff mbox series

Patch

diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 816945375..dc77fa2fa 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -7404,7 +7404,7 @@  dp_netdev_input__(struct dp_netdev_pmd_thread *pmd,
     enum { PKT_ARRAY_SIZE = NETDEV_MAX_BURST };
 #endif
     OVS_ALIGNED_VAR(CACHE_LINE_SIZE)
-        struct netdev_flow_key keys[PKT_ARRAY_SIZE];
+    struct netdev_flow_key keys[PKT_ARRAY_SIZE];
     struct netdev_flow_key *missed_keys[PKT_ARRAY_SIZE];
     struct packet_batch_per_flow batches[PKT_ARRAY_SIZE];
     size_t n_batches;