Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY= scsi.a
 VERS= .1
 
 OBJECTS= cfga_ctl.o cfga_cvt.o cfga_list.o cfga_scsi.o cfga_utils.o cfga_rcm.o

@@ -41,10 +42,13 @@
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-char-subscripts
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-address
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lc -ldevice -ldevinfo -lrcm
 
 .KEEP_STATE:
 
 all:    $(LIBS)