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

@@ -22,12 +22,13 @@
 
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident  "%Z%%M% %I%     %E% SMI"
+# Copyright (c) 2018, Joyent, Inc.
 
+
 UTSBASE = ../..
 
 MODULE = smbios
 OBJECTS = $(OBJS_DIR)/smbios.o
 LINTS = $(LINTS_DIR)/smbios.ln

@@ -38,10 +39,13 @@
 
 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
 LINT_TARGET = $(MODULE).lint
 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
 
+# needs work
+SMOFF += signed_integer_overflow_check
+
 .KEEP_STATE:
 
 def: $(DEF_DEPS)
 
 all: $(ALL_DEPS)