summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorPintu Kumar <pintu.k@samsung.com>2014-12-11 02:42:56 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 04:41:05 +0300
commit0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01 (patch)
treeee700394ae4aac2b0d157d4f95da5ee396d39a7a /mm/vmalloc.c
parentf88dfff5f160aa43d4a434f8d638c07c82b5ad47 (diff)
downloadlinux-0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01.tar.xz
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: Pintu Kumar <pintu.k@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 90520af7f186..8a18196fcdff 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -463,8 +463,7 @@ overflow:
goto retry;
}
if (printk_ratelimit())
- printk(KERN_WARNING
- "vmap allocation for size %lu failed: "
+ pr_warn("vmap allocation for size %lu failed: "
"use vmalloc=<size> to increase size.\n", size);
kfree(va);
return ERR_PTR(-EBUSY);