Re: use of uninitialized pointer in jffs_create()
Adrian Bunk <[email protected]> Tue, 23 Aug 2005 01:07:58 +0200
| Newsgroups | gmane.linux.kernel,gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
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