[<prev] [next>] [day] [month] [year] [list]
Message-id: <1413114961-10831-1-git-send-email-pintu.k@samsung.com>
Date: Sun, 12 Oct 2014 17:26:01 +0530
From: Pintu Kumar <pintu.k@...sung.com>
To: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, liwanp@...ux.vnet.ibm.com,
zhangyanfei@...fujitsu.com, rientjes@...gle.com,
edumazet@...gle.com, chaowang@...hat.com, fabf@...net.be,
catalin.marinas@....com, nasa4836@...il.com, av1474@...tv.ru,
gioh.kim@....com, rob.jones@...ethink.co.uk
Cc: cpgs@...sung.com, pintu.k@...sung.com, pintu_agarwal@...oo.com,
vishnu.ps@...sung.com, rohit.kr@...sung.com,
ed.savinay@...sung.com, iqbal.ams@...sung.com
Subject: [PATCH 1/1] [mm]: vmalloc: 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@...sung.com>
---
mm/vmalloc.c | 3 +--
1 file changed, 1 insertion(+), 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);
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists