summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-06-29 11:43:56 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-06-29 11:43:56 +0000
commitcb3493721e0f08d42f41165a7c089d9c11dcecab (patch)
treed917206209d9efde4db73277cb63e7b64fdf330a /usr/src/uts/intel
parentc1b04cc49941ba5f94d242452bc2d3d0009e4050 (diff)
parent947cdb3fe001e3ae9c98143dd04cc7d9ee13f40c (diff)
downloadillumos-joyent-cb3493721e0f08d42f41165a7c089d9c11dcecab.tar.gz
[illumos-gate merge]
commit 947cdb3fe001e3ae9c98143dd04cc7d9ee13f40c 12893 inconsistencies in mkfifo(1M) commit 9117d17eb29235fc103fe0fa874b149d3f8a9a0e 12901 loader: can not read zfs pool with slog removed commit 9b9e3196fde9c0f47c8cc4ab00f3bc5b539ceaca 12770 stop including exception unwind info in the kernel commit dfecc46651d2b074027544a9c03682fd51d51054 12661 null.h: enable NULL pointer for SPARC commit 4df3b64db8cae3f054ccdd573395ba7807bcd868 12654 nxge: smatch and NULL pointer errors
Diffstat (limited to 'usr/src/uts/intel')
-rw-r--r--usr/src/uts/intel/nxge/Makefile27
1 files changed, 2 insertions, 25 deletions
diff --git a/usr/src/uts/intel/nxge/Makefile b/usr/src/uts/intel/nxge/Makefile
index f344535e90..3bacee2dd5 100644
--- a/usr/src/uts/intel/nxge/Makefile
+++ b/usr/src/uts/intel/nxge/Makefile
@@ -35,7 +35,6 @@ UTSBASE = ../..
MODULE = nxge
NXGE_OBJECTS = $(NXGE_OBJS) $(NXGE_NPI_OBJS)
OBJECTS = $(NXGE_OBJECTS:%=$(OBJS_DIR)/%)
-LINTS = $(NXGE_OBJECTS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/nxge
@@ -55,7 +54,6 @@ CLEANFILES += $(MODSTUBS_O)
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
@@ -66,23 +64,8 @@ INC_PATH += -I$(UTSBASE)/common/io/nxge/npi
INC_PATH += -I$(UTSBASE)/common/sys/nxge
INC_PATH += -I$(UTSBASE)/sun4v
#
-#
-# lint pass one enforcement
-#
CFLAGS += -DSOLARIS
#
-#ALL_BUILDS = $(ALL_BUILDS64)
-#DEF_BUILDS = $(DEF_BUILDS64)
-#CLEANLINTFILES += $(LINT64_FILES)
-#
-LINTFLAGS += -DSOLARIS
-#
-# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
-# force us to turn off these lint checks.
-#
-LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
-LINTTAGS += -erroff=E_FALSE_LOGICAL_EXPR
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
@@ -90,8 +73,8 @@ CERRWARN += -_gcc=-Wno-switch
CERRWARN += $(CNOWARN_UNINIT)
CERRWARN += -_gcc=-Wno-type-limits
-# needs work
-SMATCH=off
+$(OBJS_DIR)/nxge_hw.o := SMOFF += deref_check
+$(OBJS_DIR)/npi_txc.o := SMOFF += shift_to_zero
#
# Driver depends on mac & IP
@@ -111,12 +94,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#