86 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
87 LINTTAGS += -erroff=E_STATIC_UNUSED
88 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
89 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
90
91 CERRWARN += -_gcc=-Wno-type-limits
92 CERRWARN += -_gcc=-Wno-switch
93 CERRWARN += -_gcc=-Wno-parentheses
94 CERRWARN += -_gcc=-Wno-unused-variable
95 CERRWARN += -_gcc=-Wno-unused-function
96 CERRWARN += -_gcc=-Wno-unused-label
97
98 # needs work
99 SMOFF += all_func_returns,indenting
100 $(OBJS_DIR)/llex.o := SMOFF += index_overflow
101 $(OBJS_DIR)/metaslab.o := SMOFF += no_if_block
102 $(OBJS_DIR)/zfs_vnops.o := SMOFF += signed
103 # needs work
104 $(OBJS_DIR)/zvol.o := SMOFF += deref_check,signed
105
106 # false positives
107 $(OBJS_DIR)/zfs_ctldir.o := SMOFF += strcpy_overflow
108 $(OBJS_DIR)/zfs_ioctl.o := SMOFF += strcpy_overflow
109
110 #
111 # Default build targets.
112 #
113 .KEEP_STATE:
114
115 def: $(DEF_DEPS)
116
117 all: $(ALL_DEPS)
118
119 clean: $(CLEAN_DEPS)
120
121 clobber: $(CLOBBER_DEPS)
122
123 lint: $(LINT_DEPS)
124
125 modlintlib: $(MODLINTLIB_DEPS)
126
127 clean.lint: $(CLEAN_LINT_DEPS)
128
|
86 LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
87 LINTTAGS += -erroff=E_STATIC_UNUSED
88 LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
89 LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
90
91 CERRWARN += -_gcc=-Wno-type-limits
92 CERRWARN += -_gcc=-Wno-switch
93 CERRWARN += -_gcc=-Wno-parentheses
94 CERRWARN += -_gcc=-Wno-unused-variable
95 CERRWARN += -_gcc=-Wno-unused-function
96 CERRWARN += -_gcc=-Wno-unused-label
97
98 # needs work
99 SMOFF += all_func_returns,indenting
100 $(OBJS_DIR)/llex.o := SMOFF += index_overflow
101 $(OBJS_DIR)/metaslab.o := SMOFF += no_if_block
102 $(OBJS_DIR)/zfs_vnops.o := SMOFF += signed
103 # needs work
104 $(OBJS_DIR)/zvol.o := SMOFF += deref_check,signed
105
106 # false positive
107 $(OBJS_DIR)/zfs_ctldir.o := SMOFF += strcpy_overflow
108
109 #
110 # Default build targets.
111 #
112 .KEEP_STATE:
113
114 def: $(DEF_DEPS)
115
116 all: $(ALL_DEPS)
117
118 clean: $(CLEAN_DEPS)
119
120 clobber: $(CLOBBER_DEPS)
121
122 lint: $(LINT_DEPS)
123
124 modlintlib: $(MODLINTLIB_DEPS)
125
126 clean.lint: $(CLEAN_LINT_DEPS)
127
|