From: Andi Kleen <andi@firstfloor.org>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: small unifications of address printing
Date: Tue, 01 Jul 2008 20:58:05 +0200 [thread overview]
Message-ID: <486A7E3D.3050901@firstfloor.org> (raw)
In-Reply-To: <19f34abd0807011146g2bb8baf0q2dbaa9ebe501657e@mail.gmail.com>
> Yes, it will, and correctly too:
>
> case 'p':
> flags |= SMALL;
> if (field_width == -1) {
> field_width = 2*sizeof(void *);
> flags |= ZEROPAD;
> }
>
> Or did I read this code wrong? field_width is initialized to -1 by
> default unless overridden. The SMALL flag means lowercase hexadecimal
> digits.
You're right. The kernel differs from user space/traditional behaviour
in this regard.
-Andi
next prev parent reply other threads:[~2008-07-01 18:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 15:52 [PATCH] x86: small unifications of address printing Vegard Nossum
2008-07-01 18:29 ` Andi Kleen
2008-07-01 18:46 ` Vegard Nossum
2008-07-01 18:58 ` Andi Kleen [this message]
2008-07-01 19:12 ` Vegard Nossum
2008-07-01 20:26 ` Ingo Molnar
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=486A7E3D.3050901@firstfloor.org \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vegard.nossum@gmail.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