Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 8,18 ****
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
! # Copyright (c) 2015 Joyent, Inc. All rights reserved.
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
--- 8,18 ----
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
! # Copyright (c) 2018, Joyent, Inc.
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
*** 32,41 ****
--- 32,44 ----
#
include $(UTSBASE)/intel/Makefile.intel
CERRWARN += -_gcc=-Wno-parentheses
+ # needs work
+ SMOFF += all_func_returns
+
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFILE)
LINT_TARGET = $(MODULE).lint