Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -8,11 +8,11 @@
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
-# Copyright (c) 2014 Joyent, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
@@ -45,10 +45,13 @@
LINTTAGS += -erroff=E_FUNC_ARG_UNUSED
LINTTAGS += -erroff=E_STATIC_UNUSED
LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
LINTTAGS += -erroff=E_FUNC_SET_NOT_USED
+# needs work
+$(OBJS_DIR)/udmf_usbgem.o := SMOFF += indenting
+
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint