Print this page
12276 smatch-clean sockfs

*** 40,50 **** # # Define the module and object file sets. # MODULE = sockfs OBJECTS = $(SOCK_OBJS:%=$(OBJS_DIR)/%) - LINTS = $(SOCK_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_FS_DIR)/$(MODULE) # # Include common rules. # --- 40,49 ----
*** 52,62 **** # # Define targets # ALL_TARGET = $(BINARY) - LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # # Overrides. # --- 51,60 ----
*** 71,94 **** # SRCDIR = $(UTSBASE)/common/fs/sockfs TOKGEN = $(SRCDIR)/nl7ctokgen DERIVED_FILES = nl7ctokgen.h CFLAGS += -I. - LINTFLAGS += -I. - # - # For now, disable these lint checks; maintainers should endeavor - # to investigate and remove these for maximum lint coverage. - # Please do not carry these forward to new Makefiles. - # - LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN - LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW - LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV - LINTTAGS += -erroff=E_STATIC_UNUSED - LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON - LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED - CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-value CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-parentheses --- 69,79 ----
*** 107,122 **** $(RM) $(DERIVED_FILES) clobber: $(CLOBBER_DEPS) $(RM) $(DERIVED_FILES) - lint: $(LINT_DEPS) - - modlintlib: $(MODLINTLIB_DEPS) - - clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # # Include common targets. # --- 92,101 ----