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

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# cmd/modload/Makefile.com
+# Copyright (c) 2018, Joyent, Inc.
 #
 # makefile for loadable module utilities
 
 DRVPROG = add_drv rem_drv update_drv
 MODPROG = modinfo modunload modload

@@ -59,10 +59,13 @@
 LINT_PROG= $(PROG:%=lint_%.c)
 LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
 
 CERRWARN += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 # install specifics
 
 $(ROOTDRVPROG) := FILEMODE = 0555
 
 add_drv                 := LDLIBS += -ldevinfo -lelf