diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-05-12 02:37:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-18 02:23:12 -0400 |
commit | 6ff9c3644e72bfac20844e0155c2cc8108602820 (patch) | |
tree | 81a8ce88d6f0f91ff7f68b234c2d20d6a0d8745f /net/sched/cls_u32.c | |
parent | 00c60a8312c235cac1c879b620ecb71413e9245d (diff) |
net sched: printk message severity
The previous patch encourage me to go look at all the messages in
the network scheduler and fix them. Many messages were missing
any severity level. Some serious ones that should never happen
were turned into WARN(), and the random noise messages that were
handled changed to pr_debug().
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_u32.c')
-rw-r--r-- | net/sched/cls_u32.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index 593eac056e8d..96275422c619 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c | |||
@@ -211,7 +211,7 @@ check_terminal: | |||
211 | 211 | ||
212 | deadloop: | 212 | deadloop: |
213 | if (net_ratelimit()) | 213 | if (net_ratelimit()) |
214 | printk("cls_u32: dead loop\n"); | 214 | printk(KERN_WARNING "cls_u32: dead loop\n"); |
215 | return -1; | 215 | return -1; |
216 | } | 216 | } |
217 | 217 | ||
@@ -768,15 +768,15 @@ static struct tcf_proto_ops cls_u32_ops __read_mostly = { | |||
768 | 768 | ||
769 | static int __init init_u32(void) | 769 | static int __init init_u32(void) |
770 | { | 770 | { |
771 | printk("u32 classifier\n"); | 771 | pr_info("u32 classifier\n"); |
772 | #ifdef CONFIG_CLS_U32_PERF | 772 | #ifdef CONFIG_CLS_U32_PERF |
773 | printk(" Performance counters on\n"); | 773 | pr_info(" Performance counters on\n"); |
774 | #endif | 774 | #endif |
775 | #ifdef CONFIG_NET_CLS_IND | 775 | #ifdef CONFIG_NET_CLS_IND |
776 | printk(" input device check on\n"); | 776 | pr_info(" input device check on\n"); |
777 | #endif | 777 | #endif |
778 | #ifdef CONFIG_NET_CLS_ACT | 778 | #ifdef CONFIG_NET_CLS_ACT |
779 | printk(" Actions configured\n"); | 779 | pr_info(" Actions configured\n"); |
780 | #endif | 780 | #endif |
781 | return register_tcf_proto_ops(&cls_u32_ops); | 781 | return register_tcf_proto_ops(&cls_u32_ops); |
782 | } | 782 | } |