Print this page
10077 usr/src/uts/ Makefile changes for smatch

@@ -23,12 +23,12 @@
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
 #
-#       This makefile drives the production of Abstract Control Model of
-#       USB Communication Devices Class dirver.
+# Copyright (c) 2018, Joyent, Inc.
+
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 

@@ -52,10 +52,13 @@
 #
 ALL_TARGET      = $(BINARY)
 LINT_TARGET     = $(MODULE).lint
 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
 
+# needs work
+SMOFF += deref_check
+
 .KEEP_STATE:
 
 all:            $(ALL_DEPS)
 
 def:            $(DEF_DEPS)