summaryrefslogtreecommitdiff
path: root/usr/src/cmd/isns
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-17 23:44:05 +0000
committerRobert Mustacchi <rm@joyent.com>2019-01-14 19:06:48 +0000
commit5661bb7641e85c46713da7a3002b29ecd2c3daf0 (patch)
treee0d0a4ec2e103c5c62feb664509414cd03f9f24e /usr/src/cmd/isns
parent05ede3db5e3b7d540afbccdc872c735770e82ef3 (diff)
downloadillumos-joyent-5661bb7641e85c46713da7a3002b29ecd2c3daf0.tar.gz
10080 smatch Makefile changes for usr/src/cmd
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/isns')
-rw-r--r--usr/src/cmd/isns/isnsadm/Makefile4
-rw-r--r--usr/src/cmd/isns/isnsd/Makefile5
2 files changed, 8 insertions, 1 deletions
diff --git a/usr/src/cmd/isns/isnsadm/Makefile b/usr/src/cmd/isns/isnsadm/Makefile
index e121b27ff0..e40079b4ef 100644
--- a/usr/src/cmd/isns/isnsadm/Makefile
+++ b/usr/src/cmd/isns/isnsadm/Makefile
@@ -22,6 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG = isnsadm
SRCS = cmdparse.c isnsadm.c isnsadm_msg.c
@@ -40,6 +41,9 @@ LINTFLAGS += -xerroff=E_BAD_FORMAT_STR2
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
.KEEP_STATE:
all: $(PROG)
diff --git a/usr/src/cmd/isns/isnsd/Makefile b/usr/src/cmd/isns/isnsd/Makefile
index f104960808..0cfabc0cfb 100644
--- a/usr/src/cmd/isns/isnsd/Makefile
+++ b/usr/src/cmd/isns/isnsd/Makefile
@@ -25,7 +25,7 @@
#
# Copyright (c) 2012 by Delphix. All rights reserved.
-# Copyright 2017 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
#
PROG = isns
@@ -64,6 +64,9 @@ CERRWARN += -_gcc=-Wno-ignored-qualifiers
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-implicit-function-declaration
+# not linted
+SMATCH=off
+
CLOBBERFILES += $(DTRACE_HEADER)
obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR