[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ext4
Subject:    Re: [PATCH] ext4: fix build warning when EXT4FS_DEBUG is on
From:       Theodore Tso <tytso () mit ! edu>
Date:       2009-07-28 1:47:26
Message-ID: 20090728014726.GB31679 () mit ! edu
[Download RAW message or body]

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@gmail.com>

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic