net: sched: pie: fix alignment in struct instances
authorMohit P. Tahiliani <tahiliani@nitk.edu.in>
Wed, 22 Jan 2020 18:22:31 +0000 (23:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2020 10:38:31 +0000 (11:38 +0100)
Make the alignment in the initialization of the struct instances
consistent in the file.

Signed-off-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in>
Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Signed-off-by: Gautam Ramakrishnan <gautamramk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_pie.c

index 024f55569a38bc172a8a0587bae1ad7cbe1ab6a6..c65164659bca5f374ee8576db266f16f479a8a6b 100644 (file)
@@ -132,14 +132,14 @@ out:
 }
 
 static const struct nla_policy pie_policy[TCA_PIE_MAX + 1] = {
-       [TCA_PIE_TARGET] = {.type = NLA_U32},
-       [TCA_PIE_LIMIT] = {.type = NLA_U32},
-       [TCA_PIE_TUPDATE] = {.type = NLA_U32},
-       [TCA_PIE_ALPHA] = {.type = NLA_U32},
-       [TCA_PIE_BETA] = {.type = NLA_U32},
-       [TCA_PIE_ECN] = {.type = NLA_U32},
-       [TCA_PIE_BYTEMODE] = {.type = NLA_U32},
-       [TCA_PIE_DQ_RATE_ESTIMATOR] = {.type = NLA_U32},
+       [TCA_PIE_TARGET]                = {.type = NLA_U32},
+       [TCA_PIE_LIMIT]                 = {.type = NLA_U32},
+       [TCA_PIE_TUPDATE]               = {.type = NLA_U32},
+       [TCA_PIE_ALPHA]                 = {.type = NLA_U32},
+       [TCA_PIE_BETA]                  = {.type = NLA_U32},
+       [TCA_PIE_ECN]                   = {.type = NLA_U32},
+       [TCA_PIE_BYTEMODE]              = {.type = NLA_U32},
+       [TCA_PIE_DQ_RATE_ESTIMATOR]     = {.type = NLA_U32},
 };
 
 static int pie_change(struct Qdisc *sch, struct nlattr *opt,
@@ -549,7 +549,7 @@ static void pie_destroy(struct Qdisc *sch)
 }
 
 static struct Qdisc_ops pie_qdisc_ops __read_mostly = {
-       .id = "pie",
+       .id             = "pie",
        .priv_size      = sizeof(struct pie_sched_data),
        .enqueue        = pie_qdisc_enqueue,
        .dequeue        = pie_qdisc_dequeue,