diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-01-12 23:58:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:55 -0500 |
commit | a6db9010922f2c02db2bbea8c17c50e451be38d9 (patch) | |
tree | e58cd43481a9bcc2f8b08b17d894776b04654188 /net/ipv4/fib_hash.c | |
parent | fea86ad8123df0d49188cbc1dd2f48da6ae49d65 (diff) |
[IPV4] FIB: printk related cleanups
printk related cleanups:
* Get rid of unused printk wrappers.
* Make bug checks into KERN_WARNING because KERN_DEBUG gets ignored
* Turn one cryptic old message into something real
* Make sure all messages have KERN_XXX
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_hash.c')
-rw-r--r-- | net/ipv4/fib_hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/fib_hash.c b/net/ipv4/fib_hash.c index a07300404e8..258214f57fb 100644 --- a/net/ipv4/fib_hash.c +++ b/net/ipv4/fib_hash.c | |||
@@ -168,7 +168,8 @@ static void fn_rehash_zone(struct fn_zone *fz) | |||
168 | new_hashmask = (new_divisor - 1); | 168 | new_hashmask = (new_divisor - 1); |
169 | 169 | ||
170 | #if RT_CACHE_DEBUG >= 2 | 170 | #if RT_CACHE_DEBUG >= 2 |
171 | printk("fn_rehash_zone: hash for zone %d grows from %d\n", fz->fz_order, old_divisor); | 171 | printk(KERN_DEBUG "fn_rehash_zone: hash for zone %d grows from %d\n", |
172 | fz->fz_order, old_divisor); | ||
172 | #endif | 173 | #endif |
173 | 174 | ||
174 | ht = fz_hash_alloc(new_divisor); | 175 | ht = fz_hash_alloc(new_divisor); |