diff options
| author | Joe Perches <[email protected]> | 2016-03-17 21:19:50 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-03-17 22:09:34 +0000 |
| commit | 1170532bb49f9468aedabdc1d5a560e2521a2bcc (patch) | |
| tree | 0197245ba37726d4ba7325e0de8129d45f8f49d9 /mm/slab_common.c | |
| parent | mm: coalesce split strings (diff) | |
| download | kernel-1170532bb49f9468aedabdc1d5a560e2521a2bcc.tar.gz kernel-1170532bb49f9468aedabdc1d5a560e2521a2bcc.zip | |
mm: convert printk(KERN_<LEVEL> to pr_<level>
Most of the mm subsystem uses pr_<level> so make it consistent.
Miscellanea:
- Realign arguments
- Add missing newline to format
- kmemleak-test.c has a "kmemleak: " prefix added to the
"Kmemleak testing" logging message via pr_fmt
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Tejun Heo <[email protected]> [percpu]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/slab_common.c')
| -rw-r--r-- | mm/slab_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c index e885e11a316f..b2e379639a5b 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -442,7 +442,7 @@ out_unlock: panic("kmem_cache_create: Failed to create slab '%s'. Error %d\n", name, err); else { - printk(KERN_WARNING "kmem_cache_create(%s) failed with error %d", + pr_warn("kmem_cache_create(%s) failed with error %d\n", name, err); dump_stack(); } |
