summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorPintu Kumar <pintu.k@samsung.com>2014-12-10 15:42:56 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:05 -0800
commit0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01 (patch)
treeee700394ae4aac2b0d157d4f95da5ee396d39a7a /mm/vmalloc.c
parentf88dfff5f160aa43d4a434f8d638c07c82b5ad47 (diff)
downloadop-kernel-dev-0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01.zip
op-kernel-dev-0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01.tar.gz
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 90520af..8a18196 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);
OpenPOWER on IntegriCloud