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

@@ -23,14 +23,11 @@
 # Use is subject to license terms.
 #
 # Copyright (c) 2010, Intel Corporation.
 # All rights reserved.
 #
-#       This makefile drives the production of the dr driver module.
-#
-#       i86pc architecture dependent
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -70,10 +67,13 @@
 
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-empty-body
 
+# needs work
+SMOFF += index_overflow
+
 #
 # module dependencies
 #
 LDFLAGS += -dy -Nmisc/drmach_acpi