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

@@ -22,19 +22,13 @@
 #
 # uts/intel/hpcsvc/Makefile
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
-#       This makefile drives the production of the hpcsvc "misc"
-#       kernel module.
-#
-#       intel architecture dependent
-#
-
-#
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..
 
 #

@@ -63,10 +57,13 @@
 DEBUG_FLGS      =
 DEBUG_DEFS      += $(DEBUG_FLGS)
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+$(OBJS_DIR)/hpcsvc.o := SMOFF += all_func_returns
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: