mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 05:50:53 +07:00
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>
This commit is contained in:
parent
719e484396
commit
c0f35cc0be
@ -1061,8 +1061,8 @@ static int __init debug_objects_replace_static_objects(void)
|
|||||||
}
|
}
|
||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
|
|
||||||
printk(KERN_DEBUG "ODEBUG: %d of %d active objects replaced\n", cnt,
|
pr_debug("%d of %d active objects replaced\n",
|
||||||
obj_pool_used);
|
cnt, obj_pool_used);
|
||||||
return 0;
|
return 0;
|
||||||
free:
|
free:
|
||||||
hlist_for_each_entry_safe(obj, tmp, &objects, node) {
|
hlist_for_each_entry_safe(obj, tmp, &objects, node) {
|
||||||
|
Loading…
Reference in New Issue
Block a user