Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,40 ****
#
# uts/intel/hpcsvc/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
- # 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 = ../..
#
--- 22,34 ----
#
# uts/intel/hpcsvc/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
*** 63,72 ****
--- 57,69 ----
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: