On Sat, 2010-06-05 at 21:41 -0400, Javier Martinez Canillas wrote: > A really trivial patch to solve a warning when compiling staging/pohmelfs > diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c > index 643b413..20b0c68 100644 > --- a/drivers/staging/pohmelfs/inode.c > +++ b/drivers/staging/pohmelfs/inode.c > @@ -1266,7 +1266,7 @@ static void pohmelfs_put_super(struct super_block *sb) > { > struct pohmelfs_sb *psb = POHMELFS_SB(sb); > struct pohmelfs_inode *pi; > - unsigned int count; > + unsigned int count = 0; > unsigned int in_drop_list = 0; > struct inode *inode, *tmp; > No warning with gcc 4.4.3. What gcc version are you using? Perhaps you should upgrade. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel