From: David Sterba Date: Sat, 23 Sep 2017 20:15:42 +0000 (+0200) Subject: btrfs-progs: build: add more sparse warning checks X-Git-Tag: upstream/4.16.1~393 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15beadeaa2b34f93b4ceed7305459d5948c69236;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: build: add more sparse warning checks - declarations after statements (style issue) - bitfields without defined signedness Signed-off-by: David Sterba --- 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 \