Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
Linus Torvalds
c0f35cc0 719e4843

+2 -2
+2 -2
lib/debugobjects.c
··· 1061 1061 } 1062 1062 local_irq_enable(); 1063 1063 1064 - printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt, 1065 - obj_pool_used); 1064 + pr_debug("%d of %d active objects replaced\n", 1065 + cnt, obj_pool_used); 1066 1066 return 0; 1067 1067 free: 1068 1068 hlist_for_each_entry_safe(obj, tmp, &objects, node) {