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

@@ -1,10 +1,10 @@
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright 2016 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 #
 #       This makefile drives the production of the ACPI CA services
 #       kernel module.
 #

@@ -52,10 +52,12 @@
 #
 # 3rd party code is not lint clean
 #
 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
 
+SMOFF += all_func_returns
+
 LINTFLAGS += -errchk=%none
 LINTFLAGS += -errhdr=%none
 LINTFLAGS += -erroff=%all
 LINTFLAGS += -errwarn=%none