]> Git Repo - linux.git/commitdiff
lib/debugobjects.c: convert printk(KERN_DEBUG to pr_debug
authorFabian Frederick <[email protected]>
Wed, 4 Jun 2014 23:06:05 +0000 (16:06 -0700)
committerLinus Torvalds <[email protected]>
Wed, 4 Jun 2014 23:53:53 +0000 (16:53 -0700)
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 <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/debugobjects.c

index b6282471df24f18717a53010eed477774e8446c5..547f7f923dbcbd24f8bb99e13ef7c13db947b8dd 100644 (file)
@@ -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) {
This page took 0.062887 seconds and 4 git commands to generate.