diff options
author | Pintu Kumar <pintu.k@samsung.com> | 2014-12-11 02:42:56 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 04:41:05 +0300 |
commit | 0cbc8533b75b6d8e3416e598e9dbf40d8bcf4e01 (patch) | |
tree | ee700394ae4aac2b0d157d4f95da5ee396d39a7a /mm/vmalloc.c | |
parent | f88dfff5f160aa43d4a434f8d638c07c82b5ad47 (diff) | |
download | linux-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.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: 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); |