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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #

@@ -57,10 +58,13 @@
 #
 # lint pass one enforcement
 #
 CFLAGS += $(CCVERBOSE)
 
+# needs work
+SMOFF += all_func_returns
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: