Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932509AbWEJUfb (ORCPT ); Wed, 10 May 2006 16:35:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932511AbWEJUfa (ORCPT ); Wed, 10 May 2006 16:35:30 -0400 Received: from ms-smtp-04.nyroc.rr.com ([24.24.2.58]:40140 "EHLO ms-smtp-04.nyroc.rr.com") by vger.kernel.org with ESMTP id S932504AbWEJUf3 (ORCPT ); Wed, 10 May 2006 16:35:29 -0400 Date: Wed, 10 May 2006 16:35:01 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Adrian Bunk cc: Daniel Walker , Alan Cox , akpm@osdl.org, LKML Subject: Re: [PATCH -mm] sys_semctl gcc 4.1 warning fix In-Reply-To: <20060510202401.GS3570@stusta.de> Message-ID: References: <200605100256.k4A2u8bd031779@dwalker1.mvista.com> <1147257266.17886.3.camel@localhost.localdomain> <1147271489.21536.70.camel@c-67-180-134-207.hsd1.ca.comcast.net> <1147273787.17886.46.camel@localhost.localdomain> <1147273598.21536.92.camel@c-67-180-134-207.hsd1.ca.comcast.net> <20060510162404.GR3570@stusta.de> <20060510202401.GS3570@stusta.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 22 On Wed, 10 May 2006, Adrian Bunk wrote: > > I can't reproduce this, gcc 4.1 gives me: > > CC [M] init/test.o > init/test.c: In function 'warn_here': > init/test.c:14: warning: 'x' is used uninitialized in this function > init/test.c: In function 'but_not_here': > init/test.c:23: warning: 'y' is used uninitialized in this function > OK, then it's fixed. I just noticed I'm using gcc 4.0.1 -- Steve - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/