Re: use of uninitialized pointer in jffs_create()
Stephane Wirtel <[email protected]> Mon, 22 Aug 2005 07:21:00 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
Le Sunday 21 August 2005 a 13:08, Jesper Juhl ecrivait: > On 8/21/05, Alexey Dobriyan <[email protected]> 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 <[email protected]> <[email protected]>