mm/vmalloc.c: replace printk with pr_warn
authorPintu Kumar <pintu.k@samsung.com>
Wed, 10 Dec 2014 23:42:56 +0000 (15:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:05 +0000 (17:41 -0800)
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>
mm/vmalloc.c

index 90520af7f18604ccd825d2595e6103dccbbf3f32..8a18196fcdff55e15db146ba4b7cf0324af0877e 100644 (file)
@@ -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);