diff options
| author | Fabian Frederick <[email protected]> | 2014-06-04 23:06:05 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-04 23:53:53 +0000 |
| commit | c0f35cc0be0e1d06b89d5867a6db09eda5033189 (patch) | |
| tree | b13e55cc140ff6d7b4a03ff738bf8a0b81e6369a /lib/debugobjects.c | |
| parent | lib/debugobjects.c: add pr_fmt to logging (diff) | |
| download | kernel-c0f35cc0be0e1d06b89d5867a6db09eda5033189.tar.gz kernel-c0f35cc0be0e1d06b89d5867a6db09eda5033189.zip | |
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 <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
| -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) } 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) { |
