diff options
author | John Levon <john.levon@joyent.com> | 2019-07-29 12:20:42 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2019-07-29 12:23:09 +0000 |
commit | 71c8cc7a72f9c140b5ae650728180c7d210db7a1 (patch) | |
tree | c388432d4a56798c15f342ad795642831c89a378 | |
parent | 17304c0b18b0ddd09fa2283f34a32b031338ff26 (diff) | |
download | illumos-joyent-71c8cc7a72f9c140b5ae650728180c7d210db7a1.tar.gz |
OS-7910 dr_sas needs smatch flag
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
-rw-r--r-- | usr/src/uts/intel/dr_sas/Makefile | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/usr/src/uts/intel/dr_sas/Makefile b/usr/src/uts/intel/dr_sas/Makefile index f4871b694a..ddbab27074 100644 --- a/usr/src/uts/intel/dr_sas/Makefile +++ b/usr/src/uts/intel/dr_sas/Makefile @@ -21,11 +21,7 @@ # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# uts/intel/dr_sas/Makefile -# -# This makefile drives the production of the dr_sas driver kernel module. -# -# intel implementation architecture dependent +# Copyright 2019 Joyent, Inc. # # @@ -38,7 +34,6 @@ UTSBASE = ../.. # MODULE = dr_sas OBJECTS = $(DR_SAS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DR_SAS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/dr_sas @@ -51,11 +46,10 @@ include $(UTSBASE)/intel/Makefile.intel # Define targets # ALL_TARGET = $(BINARY) $(CONFMOD) -LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # -# Kernel Module Dependencies +# Kernel Module Dependencies # LDFLAGS += -dy -Nmisc/scsi @@ -63,6 +57,9 @@ CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-uninitialized +# needs work +$(OBJS_DIR)/dr_sas.o := SMOFF += index_overflow + # # Default build targets. # @@ -76,12 +73,6 @@ clean: $(CLEAN_DEPS) clobber: $(CLOBBER_DEPS) -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - install: $(INSTALL_DEPS) # |