Re: use of uninitialized pointer in jffs_create()

From: Adrian Bunk
Date: Mon Aug 22 2005 - 18:08:46 EST


On Mon, Aug 22, 2005 at 12:45:59PM +0200, Jörn Engel wrote:
> On Sun, 21 August 2005 00:28:08 +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
>
> Real fix would be to finally remove that code. Except for the usual
> "change this function in the whole kernel" stuff, noone has touched it
> for ages.

That's wrong, this -mm specific bug comes git-ocfs2.patch .

> Jörn

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/