[PATCH 2/3] xfs: fix a few compiler warnings with CONFIG_XFS_QUOTA=n

Andi Kleen andi at firstfloor.org
Sat Nov 6 12:51:29 CDT 2010


Christoph Hellwig <hch at infradead.org> writes:

> Andi Kleen reported that gcc-4.5 gives lots of warnings for him inside the
> XFS code.  It turned out most of them are due to the quota stubs beeing
> macros, and gcc now complaining about macros evaluating to 0 that are not
> assigned to variables.

Thanks. BTW I believe this was already fixed in my big warning patchkit
from some time ago, unfortunately that didn't make it in :-/

A gcc 4.6 build is also still incredibly noisy.

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only.




More information about the xfs mailing list