diff options
author | Pintu Kumar <pintu.k@samsung.com> | 2014-12-10 18:42:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 20:41:05 -0500 |
commit | 0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01 (patch) | |
tree | ee700394ae4aac2b0d157d4f95da5ee396d39a7a /mm | |
parent | f88dfff5f160aa43d4a434f8d638c07c82b5ad47 (diff) |
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')
-rw-r--r-- | mm/vmalloc.c | 3 |
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: | |||
463 | goto retry; | 463 | goto retry; |
464 | } | 464 | } |
465 | if (printk_ratelimit()) | 465 | if (printk_ratelimit()) |
466 | printk(KERN_WARNING | 466 | pr_warn("vmap allocation for size %lu failed: " |
467 | "vmap allocation for size %lu failed: " | ||
468 | "use vmalloc=<size> to increase size.\n", size); | 467 | "use vmalloc=<size> to increase size.\n", size); |
469 | kfree(va); | 468 | kfree(va); |
470 | return ERR_PTR(-EBUSY); | 469 | return ERR_PTR(-EBUSY); |