All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Ingo Molnar <mingo@elte.hu>,
	Linus <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: trace: fix printk warning for u64
Date: Mon, 27 Oct 2008 22:06:55 -0700	[thread overview]
Message-ID: <20081027220655.1d188e1d.akpm@linux-foundation.org> (raw)
In-Reply-To: <20081028001254.7cb224e9.sfr@canb.auug.org.au>

On Tue, 28 Oct 2008 00:12:54 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Ingo,
> 
> On Mon, 27 Oct 2008 10:52:48 +0100 Ingo Molnar <mingo@elte.hu> wrote:
> >
> > (btw., did the "unify u64 definitions across all platforms" project 
> > get anywhere?)
> 
> I think (from a comment from DaveM) that it led into a real mess.

The problem is the large amount of arch-specific code which is printing
u64's with %lu because it "knows" that u64 is implemented as ulong. 
They all need to be switched to %ll.

A better strategy to get all this done would be to convert the
offending architectures to `long long' individually.  Then when that's
all done, unifying the typedef is a trivial step.

  reply	other threads:[~2008-10-28  5:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27  6:43 trace: fix printk warning for u64 Stephen Rothwell
2008-10-27  9:52 ` Ingo Molnar
2008-10-27 13:12   ` Stephen Rothwell
2008-10-28  5:06     ` Andrew Morton [this message]
2008-10-28  9:08       ` Ingo Molnar
2008-10-27 10:26 ` Steven Rostedt

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=20081027220655.1d188e1d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=sfr@canb.auug.org.au \
    --cc=torvalds@linux-foundation.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.