Re: Warning from ring buffer code (Was: Re: linux-next: tip treebuild warning)
From: Stephen Rothwell
Date: Sat Sep 12 2009 - 06:46:45 EST
Hi Ingo,
On Sat, 12 Sep 2009 09:39:06 +0200 Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> > On Tue, 04 Aug 2009 12:24:49 -0400 Steven Rostedt <srostedt@xxxxxxxxxx> wrote:
> > >
> > > On Tue, 2009-08-04 at 16:16 +1000, Stephen Rothwell wrote:
> > > >
> > > > Today's linux-next build (powerpc ppc64_defconfig) produced these warnings:
> > > >
> > > > kernel/trace/ring_buffer.c: In function 'rb_head_page_set':
> > > > kernel/trace/ring_buffer.c:704: warning: initialization makes pointer from integer without a cast
> > > > kernel/trace/ring_buffer.c:704: warning: initialization makes pointer from integer without a cast
> > > > kernel/trace/ring_buffer.c: In function 'rb_head_page_replace':
> > > > kernel/trace/ring_buffer.c:797: warning: initialization makes integer from pointer without a cast
> > > >
> > > > Introduced by commit 77ae365eca895061c8bf2b2e3ae1d9ea62869739
> > > > ("ring-buffer: make lockless").
> > >
> > > Thanks, I'll take a look at it.
> >
> > Now that this is in Linus' tree, can we have a fix for the waning,
> > please?
>
> The first warning got fixed 1.5 months ago - the second one at line
> 797 is still there but harmless - you can ignore it for now, it will
> be fixed.
Well linux-next builds still gave both warnings yesterday, so I was just
asking to make sure they were not forgotten.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature