Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,10 +20,11 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
# This makefile drives the production of the VIA Rhine Ethernet
# (vr) driver module in intel systems
#
@@ -57,10 +58,13 @@
#
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
+# needs work
+SMOFF += array_condition
+
#
# Driver depends on GLD
#
LDFLAGS += -dy -N misc/mac