Print this page
11506 smatch resync

@@ -19,19 +19,12 @@
 # CDDL HEADER END
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright (c) 2018, Joyent, Inc.
-
+# Copyright 2019 Joyent, Inc.
 #
-# uts/intel/mega_sas/Makefile
-#
-#       This makefile drives the production of the mega_sas driver kernel module.
-#
-#       intel implementation architecture dependent
-#
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -39,11 +32,10 @@
 #
 #       Define the module and object file sets.
 #
 MODULE          = mega_sas
 OBJECTS         = $(MEGA_SAS_OBJS:%=$(OBJS_DIR)/%)
-LINTS           = $(MEGA_SAS_OBJS:%.o=$(LINTS_DIR)/%.ln)
 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
 CONF_SRCDIR     = $(UTSBASE)/common/io/mega_sas
 
 #
 #       Include common rules.

@@ -52,11 +44,10 @@
 
 #
 #       Define targets
 #
 ALL_TARGET      = $(BINARY) $(CONFMOD)
-LINT_TARGET     = $(MODULE).lint
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
 
 #
 #       Kernel Module Dependencies
 #

@@ -63,11 +54,11 @@
 LDFLAGS         += -dy -Nmisc/scsi
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 
 # needs work
-$(OBJS_DIR)/megaraid_sas.o := SMOFF += snprintf_overflow,all_func_returns
+$(OBJS_DIR)/megaraid_sas.o := SMOFF += snprintf_overflow,all_func_returns,index_overflow
 
 #
 #       Default build targets.
 #
 .KEEP_STATE:

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