net_sched: replace pr_warning with pr_warn
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 23 Dec 2013 09:38:58 +0000 (17:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 18:50:56 +0000 (13:50 -0500)
Prefer pr_warn(... to pr_warning(...

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbq.c
net/sched/sch_dsmark.c
net/sched/sch_gred.c
net/sched/sch_htb.c

index e251833..2f80d01 100644 (file)
@@ -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;
                        }
                }
index 0952fd2..7cd49e5 100644 (file)
@@ -303,8 +303,8 @@ static struct sk_buff *dsmark_dequeue(struct Qdisc *sch)
                 * and don't need yet another qdisc as a bypass.
                 */
                if (p->mask[index] != 0xff || p->value[index])
-                       pr_warning("dsmark_dequeue: unsupported protocol %d\n",
-                                  ntohs(skb->protocol));
+                       pr_warn("dsmark_dequeue: unsupported protocol %d\n",
+                               ntohs(skb->protocol));
                break;
        }
 
Simple merge
Simple merge