From: Hugh Dickins <hugh@veritas.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Denys Vlasenko <vda.linux@googlemail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH -mm] printk trivial optimizations fix
Date: Wed, 28 Nov 2007 19:02:10 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.64.0711281900010.25292@blonde.wat.veritas.com> (raw)
mm's printk has been showing "%p" in abominable upper case recently:
its trivial optimizations have changed the default from lower to upper,
so the 'p' case needs to enforce lower explicitly.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
---
lib/vsprintf.c | 1 +
1 file changed, 1 insertion(+)
--- 2.6.24-rc3-mm2/lib/vsprintf.c 2007-11-28 12:42:26.000000000 +0000
+++ linux/lib/vsprintf.c 2007-11-28 17:01:20.000000000 +0000
@@ -525,6 +525,7 @@ int vsnprintf(char *buf, size_t size, co
continue;
case 'p':
+ flags |= SMALL;
if (field_width == -1) {
field_width = 2*sizeof(void *);
flags |= ZEROPAD;
next reply other threads:[~2007-11-28 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 19:02 Hugh Dickins [this message]
2007-11-29 4:06 ` Denys Vlasenko
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=Pine.LNX.4.64.0711281900010.25292@blonde.wat.veritas.com \
--to=hugh@veritas.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vda.linux@googlemail.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
all inboxes | Powered by JetHome®