Commit 0cbc8533 authored by Pintu Kumar's avatar Pintu Kumar Committed by Linus Torvalds
Browse files

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: default avatarPintu Kumar <pintu.k@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f88dfff5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -463,8 +463,7 @@ static struct vmap_area *alloc_vmap_area(unsigned long size,
		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);