From: Kent Overstreet <koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
To: Joseph Glanville
<joseph.glanville-2MxvZkOi9dvvnOemgxGiVw@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Build warnings on linux-bcache.git/bcache
Date: Tue, 11 Sep 2012 12:53:19 -0700 [thread overview]
Message-ID: <20120911195319.GK19739@google.com> (raw)
In-Reply-To: <CAOzFzEi+jXDrBXyv-5dQe_PHnArojJt9FFXMvBGRDwiBy95p_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Tue, Sep 11, 2012 at 11:20:56PM +1000, Joseph Glanville wrote:
> Hi Kent, list.
>
> I am getting a few build warnings on the current bcache branch with gcc 4.7.1
> They are all formatting errors, don't look to be harmful at first
> glance unless you touch the sysfs atributes.
Yeah, that's a known issue - gcc doesn't like my approach to adding
human readable units to vsnprintf. I am probably going to end up backing
out that change when I get around to it.
Sorry I haven't been spending as much time on bcache lately, I know
there's bugs I need to chase down - but, when I finish pushing my block
layer changes in bcache ought to be going into staging :)
> In file included from drivers/md/bcache/super.c:132:0:
> drivers/md/bcache/sysfs.c: In function ‘__cached_dev_show’:
> drivers/md/bcache/sysfs.c:113:4: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:113:4: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:115:4: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:115:4: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:117:4: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:117:4: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:130:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:130:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c: In function ‘flash_dev_show’:
> drivers/md/bcache/sysfs.c:294:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:294:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c: In function ‘__cache_set_show’:
> drivers/md/bcache/sysfs.c:433:2: warning: unknown conversion type
> character ‘z’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:433:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:445:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:445:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:460:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:460:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c: In function ‘__cache_show’:
> drivers/md/bcache/sysfs.c:635:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:635:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:637:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:637:2: warning: too many arguments for
> format [-Wformat-extra-args]
> drivers/md/bcache/sysfs.c:639:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/sysfs.c:639:2: warning: too many arguments for
> format [-Wformat-extra-args]
>
> drivers/md/bcache/stats.c: In function ‘cache_stats_show’:
> drivers/md/bcache/stats.c:75:2: warning: unknown conversion type
> character ‘l’ in format [-Wformat]
> drivers/md/bcache/stats.c:75:2: warning: too many arguments for format
> [-Wformat-extra-args]
>
>
> --
> CTO | Orion Virtualisation Solutions | www.orionvm.com.au
> Phone: 1300 56 99 52 | Mobile: 0428 754 846
next prev parent reply other threads:[~2012-09-11 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-11 13:20 Build warnings on linux-bcache.git/bcache Joseph Glanville
[not found] ` <CAOzFzEi+jXDrBXyv-5dQe_PHnArojJt9FFXMvBGRDwiBy95p_w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-11 19:53 ` Kent Overstreet [this message]
[not found] ` <20120911195319.GK19739-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-09-11 21:13 ` Joseph Glanville
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=20120911195319.GK19739@google.com \
--to=koverstreet-hpiqsd4aklfqt0dzr+alfa@public.gmane.org \
--cc=joseph.glanville-2MxvZkOi9dvvnOemgxGiVw@public.gmane.org \
--cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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