Re: [PATCH 01/15] btrfs-progs: get C=1 sparse checking working again

2013-08-30 Thread Zach Brown
Very nice, thanks. I'm getting this error, for each built object file: $ make V=1 C=1 [SP] ctree.o Heh, I goofed when building the echo and actual rules, might as well update that to $ to have it output .c? @$(check_echo) [SP] $@ $(Q)$(check) $(AM_CFLAGS)

Re: [PATCH 01/15] btrfs-progs: get C=1 sparse checking working again

2013-08-30 Thread David Sterba
On Fri, Aug 30, 2013 at 02:03:28PM -0700, Zach Brown wrote: Heh, I goofed when building the echo and actual rules, might as well update that to $ to have it output .c? @$(check_echo) [SP] $@ $(Q)$(check) $(AM_CFLAGS) $(CFLAGS) $ Yeah, looks better with .c sparse

[PATCH 01/15] btrfs-progs: get C=1 sparse checking working again

2013-08-14 Thread Zach Brown
There were a few problems that were breaking sparse checking: - We were defining CHECK_ENDIAN late in the environment, after linux/fs.h has been included which defines __force and __bitwise in confusing ways that conflict with ours. Define it up with __CHECKER__ so that linux/fs.h and our