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 -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html