Re: use of uninitialized pointer in jffs_create()

Jörn Engel
2005-08-23T09:08:21Z

On Tue, 23 August 2005 01:07:58 +0200, Adrian Bunk wrote:
> 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 .

Ack. If I wasn't this lazy, I'd still propose to completely remove
jffs - it's been old and deprecated for a few years already.

Jörn

--
Public Domain - Free as in Beer
General Public - Free as in Speech
BSD License - Free as in Enterprise
Shared Source - Free as in "Work will make you..."