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

@@ -22,11 +22,11 @@
 # uts/intel/ac97/Makefile
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#       This makefile drives the production of the ac97 support module.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #

@@ -52,10 +52,13 @@
 LINT_TARGET     = $(MODULE).lint
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
 
 LDFLAGS         += -dy -Ndrv/audio
 
+# needs work
+$(OBJS_DIR)/ac97.o := SMOFF += index_overflow
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: