summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/upf
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-16 23:29:00 +0000
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2019-01-09 11:47:40 +0100
commitb6b206fc7fb36f7b13b01acf70ed6e676e405998 (patch)
treeee571acfcabf0de526b8abb772596982aab98313 /usr/src/uts/intel/upf
parentdc5e7685b131559c0b7c622baee25a9a0ae50ada (diff)
downloadillumos-joyent-b6b206fc7fb36f7b13b01acf70ed6e676e405998.tar.gz
10077 usr/src/uts/ Makefile changes for smatch
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/uts/intel/upf')
-rw-r--r--usr/src/uts/intel/upf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/uts/intel/upf/Makefile b/usr/src/uts/intel/upf/Makefile
index 25f7e577db..c9b724ff24 100644
--- a/usr/src/uts/intel/upf/Makefile
+++ b/usr/src/uts/intel/upf/Makefile
@@ -10,7 +10,7 @@
#
#
-# Copyright (c) 2014 Joyent, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
#
@@ -41,6 +41,9 @@ CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-label
+# needs work
+$(OBJS_DIR)/upf_usbgem.o := SMOFF += all_func_returns
+
LINTTAGS += -erroff=E_FUNC_VAR_UNUSED
LINTTAGS += -erroff=E_FUNC_ARG_UNUSED
LINTTAGS += -erroff=E_STATIC_UNUSED