Re: [PATCH] ext4: fix build warning when EXT4FS_DEBUG is on

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

 



On Mon, Jul 20, 2009 at 01:20:57AM +0800, Peng Tao wrote:
> When compiling with EXT4FS_DEBUG on, gcc will complain with following warnings:
> 
> linux-2.6/fs/ext4/ialloc.c: In function ‘ext4_count_free_inodes’:
> linux-2.6/fs/ext4/ialloc.c:1192: warning: format ‘%lu’ expects type
> ‘long unsigned int’, but argument 2 has type ‘ext4_group_t’
> 
> So add a type cast to suppress it. 
> 
> Signed-off-by: Peng Tao <bergwolf@xxxxxxxxx>

Thanks, applied to the ext4 patch queue.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux