summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_cbq.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2013-12-23 17:38:58 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-31 13:50:56 -0500
commitc17988a90f92c61164d6b82dd92ce8ade03899c2 (patch)
treedf7391e252946c69ef3c5cda540ae9bc71aa02c8 /net/sched/sch_cbq.c
parentd4dd8aeefda96225abbb6ab21c80bb1cd9b684db (diff)
downloadlinux-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.c4
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;
}
}