Re: use of uninitialized pointer in jffs_create()

2005-08-23 Thread Jörn Engel
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: warni

Re: use of uninitialized pointer in jffs_create()

2005-08-22 Thread Adrian Bunk
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

Re: use of uninitialized pointer in jffs_create()

2005-08-22 Thread Stephane Wirtel
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'

Re: use of uninitialized pointer in jffs_create()

2005-08-22 Thread Jörn Engel
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 thi

Re: use of uninitialized pointer in jffs_create()

2005-08-21 Thread Jesper Juhl
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

Re: use of uninitialized pointer in jffs_create()

2005-08-21 Thread Alexey Dobriyan
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. > And looking at the functi

use of uninitialized pointer in jffs_create()

2005-08-20 Thread Jesper Juhl
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 And looking at the function : static int jffs_create(struct inode *dir, struct dentry *dentry, int mode, struct nameidata *nd) {