diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-04 19:06:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 19:53:53 -0400 |
commit | c0f35cc0be0e1d06b89d5867a6db09eda5033189 (patch) | |
tree | b13e55cc140ff6d7b4a03ff738bf8a0b81e6369a /lib | |
parent | 719e484396e2793f40829b98a22d55c2fcdbe74b (diff) |
lib/debugobjects.c: convert printk(KERN_DEBUG to pr_debug
Direct conversion of one KERN_DEBUG message without DEBUG definition
(suggested by Josh Triplett)
That message will now be disabled by default. (see
Documentation/CodingStyle Chapter 13)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debugobjects.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c index b6282471df24..547f7f923dbc 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c | |||
@@ -1061,8 +1061,8 @@ static int __init debug_objects_replace_static_objects(void) | |||
1061 | } | 1061 | } |
1062 | local_irq_enable(); | 1062 | local_irq_enable(); |
1063 | 1063 | ||
1064 | printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt, | 1064 | pr_debug("%d of %d active objects replaced\n", |
1065 | obj_pool_used); | 1065 | cnt, obj_pool_used); |
1066 | return 0; | 1066 | return 0; |
1067 | free: | 1067 | free: |
1068 | hlist_for_each_entry_safe(obj, tmp, &objects, node) { | 1068 | hlist_for_each_entry_safe(obj, tmp, &objects, node) { |