Skip to content

Commit 00ea2fb

Browse files
mohittahilianidavem330
authored andcommitted
net: sched: pie: fix alignment in struct instances
Make the alignment in the initialization of the struct instances consistent in the file. Signed-off-by: Mohit P. Tahiliani <[email protected]> Signed-off-by: Leslie Monis <[email protected]> Signed-off-by: Gautam Ramakrishnan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 55f780c commit 00ea2fb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

net/sched/sch_pie.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ static int pie_qdisc_enqueue(struct sk_buff *skb, struct Qdisc *sch,
132132
}
133133

134134
static const struct nla_policy pie_policy[TCA_PIE_MAX + 1] = {
135-
[TCA_PIE_TARGET] = {.type = NLA_U32},
136-
[TCA_PIE_LIMIT] = {.type = NLA_U32},
137-
[TCA_PIE_TUPDATE] = {.type = NLA_U32},
138-
[TCA_PIE_ALPHA] = {.type = NLA_U32},
139-
[TCA_PIE_BETA] = {.type = NLA_U32},
140-
[TCA_PIE_ECN] = {.type = NLA_U32},
141-
[TCA_PIE_BYTEMODE] = {.type = NLA_U32},
142-
[TCA_PIE_DQ_RATE_ESTIMATOR] = {.type = NLA_U32},
135+
[TCA_PIE_TARGET] = {.type = NLA_U32},
136+
[TCA_PIE_LIMIT] = {.type = NLA_U32},
137+
[TCA_PIE_TUPDATE] = {.type = NLA_U32},
138+
[TCA_PIE_ALPHA] = {.type = NLA_U32},
139+
[TCA_PIE_BETA] = {.type = NLA_U32},
140+
[TCA_PIE_ECN] = {.type = NLA_U32},
141+
[TCA_PIE_BYTEMODE] = {.type = NLA_U32},
142+
[TCA_PIE_DQ_RATE_ESTIMATOR] = {.type = NLA_U32},
143143
};
144144

145145
static int pie_change(struct Qdisc *sch, struct nlattr *opt,
@@ -549,7 +549,7 @@ static void pie_destroy(struct Qdisc *sch)
549549
}
550550

551551
static struct Qdisc_ops pie_qdisc_ops __read_mostly = {
552-
.id = "pie",
552+
.id = "pie",
553553
.priv_size = sizeof(struct pie_sched_data),
554554
.enqueue = pie_qdisc_enqueue,
555555
.dequeue = pie_qdisc_dequeue,

0 commit comments

Comments
 (0)