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

@@ -21,14 +21,13 @@
 #
 # uts/intel/usbsacm/Makefile
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
+
 #
-#       This makefile drives the production of Abstract Control Model of
-#       USB Communication Devices Class dirver.
-#
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 
 #

@@ -46,10 +45,13 @@
 
 LDFLAGS         += -dy -Nmisc/usba -Nmisc/usbser
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+SMOFF += deref_check
+
 #
 #       Define targets
 #
 ALL_TARGET      = $(BINARY)
 LINT_TARGET     = $(MODULE).lint