Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,29 ****
--- 20,30 ----
#
#
# 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,66 ****
--- 58,70 ----
#
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
+ # needs work
+ SMOFF += array_condition
+
#
# Driver depends on GLD
#
LDFLAGS += -dy -N misc/mac