[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081027095248.GA6969@elte.hu>
Date: Mon, 27 Oct 2008 10:52:48 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Linus <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: trace: fix printk warning for u64
* Stephen Rothwell <sfr@...b.auug.org.au> wrote:
> A powerpc ppc64_defconfig build produces these warnings:
>
> kernel/trace/ring_buffer.c: In function 'rb_add_time_stamp':
> kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u64'
> kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64'
> kernel/trace/ring_buffer.c:969: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u64'
>
> Just cast the u64s to unsigned long long like we do everywhere else.
>
> Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
applied to tip/tracing/urgent, thanks Stephen!
(btw., did the "unify u64 definitions across all platforms" project
get anywhere?)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists