Re: use of uninitialized pointer in jffs_create()

From: Stephane Wirtel
Date: Mon Aug 22 2005 - 17:43:47 EST


Le Sunday 21 August 2005 a 13:08, Jesper Juhl ecrivait:
> On 8/21/05, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> > On Sun, Aug 21, 2005 at 12:28:08AM +0200, Jesper Juhl wrote:
> > > gcc kindly pointed me at jffs_create() with this warning :
> > >
> > > fs/jffs/inode-v23.c:1279: warning: `inode' might be used uninitialized
> > > in this function
> >
> > I don't see a warning with latest gcc-4.1 snapshot.
> >
>
> I'm using gcc 3.3.6, and the kernel that shows this warning is 2.6.13-rc6-mm1
>From a copy of the Linus's repository.
stephane@debian:~/devel/linux-2.6$ head -5 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 13
EXTRAVERSION =-rc6
NAME=Woozy Numbat

stephane@debian:~/devel/linux-2.6/fs/jffs$ grep truncate * -rn
intrep.c:2452: of the file system if a large file have been
truncated,
stephane@debian:~/devel/linux-2.6/fs/jffs$

Stephane

--
Stephane Wirtel <stephane.wirtel@xxxxxxxxxxxx>
<stephane.wirtel@xxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/