Print this page
10077 usr/src/uts/ Makefile changes for smatch

@@ -19,13 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#       This makefile drives the production of the TPM driver kernel
-#       module.
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 UTSBASE = $(SRC)/uts
 
 #
 #       Define the module and object file sets.

@@ -63,10 +61,13 @@
 # This is for /usr/include/tss/, which is not built in the ON consolidation
 CPPFLAGS        += -I$(ADJUNCT_PROTO)/usr/include
 
 CERRWARN        += -_gcc=-Wno-parentheses
 
+# needs work
+$(OBJS_DIR)/tpm.o := SMOFF += index_overflow
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: