diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-02-28 16:35:06 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-02-28 16:35:06 -0500 |
commit | aa5d6bed255d7f8c655a8f10d760f4247bc8385c (patch) | |
tree | ddd4ad69b490fc49e23097f5d783ef90ea81cf5f /fs/btrfs/Makefile | |
parent | af86d07efe83e2f2da3658702a720bc48b1a6d78 (diff) | |
download | op-kernel-dev-aa5d6bed255d7f8c655a8f10d760f4247bc8385c.zip op-kernel-dev-aa5d6bed255d7f8c655a8f10d760f4247bc8385c.tar.gz |
Btrfs: return code checking
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index 078061c..58d4260 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -1,10 +1,13 @@ +CC=gcc CFLAGS = -g -Wall headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o # if you don't have sparse installed, use ls instead -check=sparse +CHECKFLAGS=-D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise \ + -Wcontext -Wcast-truncate -Wuninitialized -Wshadow -Wundef +check=sparse $(CHECKFLAGS) #check=ls .c.o: |