public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Vegard Nossum <vegard.nossum@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: small unifications of address printing
Date: Tue, 1 Jul 2008 22:26:45 +0200	[thread overview]
Message-ID: <20080701202645.GF4896@elte.hu> (raw)
In-Reply-To: <20080701155217.GA22318@damson.getinternet.no>


* Vegard Nossum <vegard.nossum@gmail.com> wrote:

> (resend to lkml)
> 
> From: Vegard Nossum <vegard.nossum@gmail.com>
> Date: Tue, 1 Jul 2008 14:51:08 +0200
> Subject: [PATCH] x86: small unifications of address printing
> 
> 'man 3 printf' tells me that %p should be printed as if by %#x, but
> this is not true for the kernel, which does not use the '0x' prefix
> for the %p conversion specifier.
> 
> A small cast to (void *) is also prettier than #ifdef/#else/#endif.

applied to tip/x86/debug - thanks Vegard.

	Ingo

      parent reply	other threads:[~2008-07-01 20:27 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
2008-07-01 19:12       ` Vegard Nossum
2008-07-01 20:26 ` Ingo Molnar [this message]

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=20080701202645.GF4896@elte.hu \
    --to=mingo@elte.hu \
    --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