diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2013-12-23 17:38:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-31 13:50:56 -0500 |
commit | c17988a90f92c61164d6b82dd92ce8ade03899c2 (patch) | |
tree | df7391e252946c69ef3c5cda540ae9bc71aa02c8 /net/sched/sch_cbq.c | |
parent | d4dd8aeefda96225abbb6ab21c80bb1cd9b684db (diff) | |
download | linux-c17988a90f92c61164d6b82dd92ce8ade03899c2.tar.gz linux-c17988a90f92c61164d6b82dd92ce8ade03899c2.tar.bz2 linux-c17988a90f92c61164d6b82dd92ce8ade03899c2.zip |
net_sched: replace pr_warning with pr_warn
Prefer pr_warn(... to pr_warning(...
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_cbq.c')
-rw-r--r-- | net/sched/sch_cbq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c index e25183333807..2f80d01d42a6 100644 --- a/net/sched/sch_cbq.c +++ b/net/sched/sch_cbq.c @@ -1060,8 +1060,8 @@ static void cbq_normalize_quanta(struct cbq_sched_data *q, int prio) } if (cl->quantum <= 0 || cl->quantum > 32*qdisc_dev(cl->qdisc)->mtu) { - pr_warning("CBQ: class %08x has bad quantum==%ld, repaired.\n", - cl->common.classid, cl->quantum); + pr_warn("CBQ: class %08x has bad quantum==%ld, repaired.\n", + cl->common.classid, cl->quantum); cl->quantum = qdisc_dev(cl->qdisc)->mtu/2 + 1; } } |