From: Pintu Kumar <pintu.k@samsung.com>
To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, liwanp@linux.vnet.ibm.com,
zhangyanfei@cn.fujitsu.com, rientjes@google.com,
edumazet@google.com, chaowang@redhat.com, fabf@skynet.be,
catalin.marinas@arm.com, nasa4836@gmail.com, av1474@comtv.ru,
gioh.kim@lge.com, rob.jones@codethink.co.uk
Cc: cpgs@samsung.com, pintu.k@samsung.com, pintu_agarwal@yahoo.com,
vishnu.ps@samsung.com, rohit.kr@samsung.com,
ed.savinay@samsung.com, iqbal.ams@samsung.com
Subject: [PATCH 1/1] [mm]: vmalloc: replace printk with pr_warn
Date: Sun, 12 Oct 2014 17:26:01 +0530 [thread overview]
Message-ID: <1413114961-10831-1-git-send-email-pintu.k@samsung.com> (raw)
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>
---
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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
reply other threads:[~2014-10-12 12:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413114961-10831-1-git-send-email-pintu.k@samsung.com \
--to=pintu.k@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=av1474@comtv.ru \
--cc=catalin.marinas@arm.com \
--cc=chaowang@redhat.com \
--cc=cpgs@samsung.com \
--cc=ed.savinay@samsung.com \
--cc=edumazet@google.com \
--cc=fabf@skynet.be \
--cc=gioh.kim@lge.com \
--cc=iqbal.ams@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=liwanp@linux.vnet.ibm.com \
--cc=nasa4836@gmail.com \
--cc=pintu_agarwal@yahoo.com \
--cc=rientjes@google.com \
--cc=rob.jones@codethink.co.uk \
--cc=rohit.kr@samsung.com \
--cc=vishnu.ps@samsung.com \
--cc=zhangyanfei@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox