summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-09-23 22:15:42 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-25 15:18:44 +0200
commit15beadeaa2b34f93b4ceed7305459d5948c69236 (patch)
tree06e4583d4a3928ce715939dab698adfa35d44d48 /Makefile
parent5d57bdeb239de40d63eb7809a3d3d15dffb51b6b (diff)
btrfs-progs: build: add more sparse warning checks
- declarations after statements (style issue) - bitfields without defined signedness Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 243701a..b1f3388 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ CHECKER := sparse
check_defs := .cc-defines.h
CHECKER_FLAGS := -include $(check_defs) -D__CHECKER__ \
-D__CHECK_ENDIAN__ -Wbitwise -Wuninitialized -Wshadow -Wundef \
- -U_FORTIFY_SOURCE
+ -U_FORTIFY_SOURCE -Wdeclaration-after-statement -Wdefault-bitfield-sign
objects = ctree.o disk-io.o kernel-lib/radix-tree.o extent-tree.o print-tree.o \
root-tree.o dir-item.o file-item.o inode-item.o inode-map.o \