mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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 <joe@perches.com> Acked-by: Tejun Heo <tj@kernel.org> [percpu] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
756a025f00
commit
1170532bb4
20 changed files with 118 additions and 150 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue