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 kgssapi kernel module.
+# Copyright (c) 2018, Joyent, Inc.
+
 #
-#       intel implementation architecture dependent
-#
-#
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 
 #

@@ -68,10 +66,13 @@
 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 
 CERRWARN        += -_gcc=-Wno-unused-variable
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+$(OBJS_DIR)/gssd_clnt_stubs.o := SMOFF += indenting,deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: