Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG =          rmvolmgr
 OBJS =          rmm_common.o rmvolmgr.o vold.o
 SRCS =          $(OBJS:%.o=%.c)
 

@@ -46,10 +47,13 @@
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+# not linted
+SMATCH=off
+
 ROOTCMDDIR =            $(ROOTLIB)
 ROOTMANIFESTDIR =       $(ROOTSVCSYSTEMFILESYSTEM)
 $(ROOTMANIFEST) :=      FILEMODE = 444
 $(ROOTLIBSVCMETHOD)/svc-rmvolmgr:= FILEMODE = 555