linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Peng Tao <bergwolf@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: fix build warning when EXT4FS_DEBUG is on
Date: Mon, 27 Jul 2009 21:47:26 -0400	[thread overview]
Message-ID: <20090728014726.GB31679@mit.edu> (raw)
In-Reply-To: <1248024057-21418-1-git-send-email-bergwolf@gmail.com>

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

      reply	other threads:[~2009-07-28  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-19 17:20 [PATCH] ext4: fix build warning when EXT4FS_DEBUG is on Peng Tao
2009-07-28  1:47 ` Theodore Tso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090728014726.GB31679@mit.edu \
    --to=tytso@mit.edu \
    --cc=bergwolf@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).