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

@@ -21,10 +21,11 @@
 # uts/intel/drm/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 the DRM (Direct Rendering
 #       Manager) common misc module.
 #

@@ -54,10 +55,13 @@
 
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-unused-variable
 
+# needs work
+SMOFF += precedence,indenting,deref_check,all_func_returns
+
 #
 #       Define targets
 #
 ALL_TARGET      = $(BINARY)
 LINT_TARGET     = $(MODULE).lint