[PATCH] xfsprogs: enable sparse checking

Eric Sandeen sandeen at sandeen.net
Fri Oct 24 08:53:59 CDT 2014


On 10/24/14 1:17 AM, Christoph Hellwig wrote:
> On Thu, Oct 23, 2014 at 06:29:14PM -0500, Eric Sandeen wrote:
>> Enable "make C=1" or "make C=2" to do sparse checking.
>> Blatantly ripped off from djwong's patch in e2fsprogs to
>> do the same.
>>
>> Note, this requires unreleased sparse after v0.5, which
>> enables the CHAR_BIT definition; otherwise it chokes.
> 
> I'm pretty sure I used to be able to do sparse checks on xfsprogs using
> 
> CC=cgcc make

Hm, so you can.

Ok, so maybe this is dumb, or is it convenient (to work like it does
in the kernel tree?)

Thanks,
-Eric



More information about the xfs mailing list