diff options
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_mqprio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/sched/sch_mqprio.c b/net/sched/sch_mqprio.c index ace37f9f1cd0..ea17cbed29ef 100644 --- a/net/sched/sch_mqprio.c +++ b/net/sched/sch_mqprio.c | |||
@@ -311,7 +311,9 @@ static int mqprio_dump_class(struct Qdisc *sch, unsigned long cl, | |||
311 | } | 311 | } |
312 | 312 | ||
313 | static int mqprio_dump_class_stats(struct Qdisc *sch, unsigned long cl, | 313 | static int mqprio_dump_class_stats(struct Qdisc *sch, unsigned long cl, |
314 | struct gnet_dump *d) | 314 | struct gnet_dump *d) |
315 | __releases(d->lock) | ||
316 | __acquires(d->lock) | ||
315 | { | 317 | { |
316 | struct net_device *dev = qdisc_dev(sch); | 318 | struct net_device *dev = qdisc_dev(sch); |
317 | 319 | ||
@@ -389,7 +391,7 @@ static const struct Qdisc_class_ops mqprio_class_ops = { | |||
389 | .dump_stats = mqprio_dump_class_stats, | 391 | .dump_stats = mqprio_dump_class_stats, |
390 | }; | 392 | }; |
391 | 393 | ||
392 | struct Qdisc_ops mqprio_qdisc_ops __read_mostly = { | 394 | static struct Qdisc_ops mqprio_qdisc_ops __read_mostly = { |
393 | .cl_ops = &mqprio_class_ops, | 395 | .cl_ops = &mqprio_class_ops, |
394 | .id = "mqprio", | 396 | .id = "mqprio", |
395 | .priv_size = sizeof(struct mqprio_sched), | 397 | .priv_size = sizeof(struct mqprio_sched), |