Print this page
11506 smatch resync

@@ -20,21 +20,23 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2019 Joyent, Inc.
 #
+
+#
 # Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 
 #
 # Define the module and object file sets.
 #
 MODULE          = simnet
 OBJECTS         = $(SIMNET_OBJS:%=$(OBJS_DIR)/%)
-LINTS           = $(SIMNET_OBJS:%.o=$(LINTS_DIR)/%.ln)
 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
 CONF_SRCDIR     = $(UTSBASE)/common/io/$(MODULE)
 
 #
 # Include common rules.

@@ -43,11 +45,10 @@
 
 #
 # Define targets
 #
 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
-LINT_TARGET     = $(MODULE).lint
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
 
 #
 # Overrides
 #

@@ -54,10 +55,13 @@
 CFLAGS          += $(CCVERBOSE)
 LDFLAGS         += -dy -Ndrv/dld -Nmisc/mac -Nmisc/dls -Ndrv/random
 
 CERRWARN        += -_gcc=-Wno-switch
 
+# needs work
+$(OBJS_DIR)/simnet.o := SMOFF += index_overflow
+
 #
 #       Default build targets.
 #
 .KEEP_STATE:
 

@@ -67,16 +71,10 @@
 
 clean:          $(CLEAN_DEPS)
 
 clobber:        $(CLOBBER_DEPS)
 
-lint:           $(LINT_DEPS)
-
-modlintlib:     $(MODLINTLIB_DEPS)
-
-clean.lint:     $(CLEAN_LINT_DEPS)
-
 install:        $(INSTALL_DEPS)
 
 #
 #       Include common targets.
 #