Commit 0cbc8533 authored by Pintu Kumar's avatar Pintu Kumar Committed by Linus Torvalds

mm/vmalloc.c: replace printk with pr_warn

This patch replaces printk(KERN_WARNING..) with pr_warn.
Thus it also reduces one line extra because of formatting.
Signed-off-by: default avatarPintu Kumar <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent f88dfff5
...@@ -463,8 +463,7 @@ overflow: ...@@ -463,8 +463,7 @@ overflow:
goto retry; goto retry;
} }
if (printk_ratelimit()) if (printk_ratelimit())
printk(KERN_WARNING pr_warn("vmap allocation for size %lu failed: "
"vmap allocation for size %lu failed: "
"use vmalloc=<size> to increase size.\n", size); "use vmalloc=<size> to increase size.\n", size);
kfree(va); kfree(va);
return ERR_PTR(-EBUSY); return ERR_PTR(-EBUSY);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment