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

@@ -20,11 +20,13 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
+
 #
 #       Path to the base of the uts directory tree.
 #
 UTSBASE = ../..
 

@@ -63,10 +65,13 @@
 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+$(OBJS_DIR)/sbp2_driver.o := SMOFF += indenting
+
 #       Default build targets.
 #
 .KEEP_STATE:
 
 def:            $(DEF_DEPS)