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

@@ -23,15 +23,13 @@
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
 #
-#       This makefile drives the production of the kernel rpcsec module.
+# Copyright (c) 2018, Joyent, Inc.
+
 #
-#       intel implementation architecture dependent
-#
-#
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 
 #

@@ -69,10 +67,13 @@
 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+$(OBJS_DIR)/auth_des.o := SMOFF += deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: