Commit c0f35cc0 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

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: default avatarFabian Frederick <fabf@skynet.be>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 719e4843
......@@ -1061,8 +1061,8 @@ static int __init debug_objects_replace_static_objects(void)
}
local_irq_enable();
printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt,
obj_pool_used);
pr_debug("%d of %d active objects replaced\n",
cnt, obj_pool_used);
return 0;
free:
hlist_for_each_entry_safe(obj, tmp, &objects, node) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment