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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 #       This makefile drives the production of the emul64 kernel
 #       driver to testing hotplugging operations
 #
 

@@ -68,10 +69,13 @@
 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 
 CERRWARN        += -_gcc=-Wno-unused-label
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+SMOFF += indenting,shift_to_zero
+
 #
 # Depends on scsi
 #
 LDFLAGS += -dy -N misc/scsi