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= usb.a
 VERS= .1
 
 OBJECTS= cfga_usb.o cfga_rcm.o cfga_configfile.o

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