Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,10 +20,11 @@
#
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
#
# This file makes the atheros driver for an intel system
#
# intel architecture dependent
@@ -64,10 +65,13 @@
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-empty-body
+# needs work
+$(OBJS_DIR)/ath_rate.o := SMOFF += index_overflow
+
#
# Default build targets.
#
.KEEP_STATE: