summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_dsmark.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2013-12-23 10:38:58 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-31 19:50:56 +0100
commitc17988a90f92c61164d6b82dd92ce8ade03899c2 (patch)
treedf7391e252946c69ef3c5cda540ae9bc71aa02c8 /net/sched/sch_dsmark.c
parentpacket: fix "foo * bar" and "(foo*)" problems (diff)
downloadlinux-c17988a90f92c61164d6b82dd92ce8ade03899c2.tar.xz
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_dsmark.c')
-rw-r--r--net/sched/sch_dsmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c
index 0952fd2684e4..7cd49e5f2dfe 100644
--- a/net/sched/sch_dsmark.c
+++ b/net/sched/sch_dsmark.c
@@ -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;
}