Re: [PATCH] drivers/staging/pohmelfs: fix compile warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Javier.

Patch looks good, thank you.

On Sat, Jun 05, 2010 at 09:41:00PM -0400, Javier Martinez Canillas (martinez.javier@xxxxxxxxx) wrote:
> A really trivial patch to solve a warning when compiling staging/pohmelfs
> 
> Signed-off-by: Javier Martinez Canillas <martinez.javier@xxxxxxxxx>

Greg, please apply.

> ---
>  drivers/staging/pohmelfs/inode.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 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;
>  
> -- 
> 1.7.0.4
> 
> 

-- 
	Evgeniy Polyakov
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux