[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111109113303.GA18508@gere.osrc.amd.com>
Date: Wed, 9 Nov 2011 12:33:03 +0100
From: Borislav Petkov <bp@...en8.de>
To: Dave Haywood <tla@....selfip.net>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: Build warning: kernel/trace/trace.c (v3.2-rc1-90-g19e0baf)
On Wed, Nov 09, 2011 at 08:47:58AM +0000, Dave Haywood wrote:
> Hi,
>
> Noticed this new warning in the build of kernel v3.2-rc1-90-g19e0baf:
>
> CC kernel/trace/trace.o
> kernel/trace/trace.c: In function 'tracing_mark_write':
> kernel/trace/trace.c:3644:8: warning: 'page2' may be used uninitialized in this function
That has to be gcc 4.5.x something. 4.6 is smarter in that aspect:
$ make CC=gcc-4.6 kernel/trace/trace.o
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
...
HOSTLD scripts/mod/modpost
CC kernel/trace/trace.o
$ make CC=gcc-4.5 kernel/trace/trace.o
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
...
HOSTLD scripts/mod/modpost
CC kernel/trace/trace.o
kernel/trace/trace.c: In function ‘tracing_mark_write’:
kernel/trace/trace.c:3644:8: warning: ‘page2’ may be used uninitialized in this function
HTH
--
Regards/Gruss,
Boris.
--
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