Print this page
10688 gfx_private needs smatch fixes

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
+# Copyright 2019, Joyent, Inc.
 #
 
 #
 #       This makefile drives the production of the graphics private
 #       interface kernel module.

@@ -67,10 +68,13 @@
 LINTTAGS +=     -erroff=E_STATIC_UNUSED
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-parentheses
 
+# needs work
+SMOFF           += all_func_returns,deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: