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>
This commit is contained in:
parent
5d57bdeb23
commit
15beadeaa2
2
Makefile
2
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 \
|
||||
|
|
Loading…
Reference in New Issue