summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/smbfs
diff options
context:
space:
mode:
authorDan McDonald <danmcd@mnx.io>2022-05-13 17:20:24 -0400
committerGitHub <noreply@github.com>2022-05-13 17:20:24 -0400
commitbb7d6c9b47695f41cbacbcf6662baf3d0e152fdf (patch)
tree75f2d0cab5fb92f97f2ab2c3186a0b5d1579a33a /usr/src/uts/sparc/smbfs
parent8ca5534c77e93c25d2c1f777499b12da0f7cc0cd (diff)
parent402559e299331588f209b3a9693e3bcd6a83d22c (diff)
downloadillumos-joyent-OS-8149.tar.gz
Merge branch 'master' into OS-8149OS-8149
Diffstat (limited to 'usr/src/uts/sparc/smbfs')
-rw-r--r--usr/src/uts/sparc/smbfs/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/usr/src/uts/sparc/smbfs/Makefile b/usr/src/uts/sparc/smbfs/Makefile
index 346972e300..4e0d4b3c13 100644
--- a/usr/src/uts/sparc/smbfs/Makefile
+++ b/usr/src/uts/sparc/smbfs/Makefile
@@ -24,7 +24,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the smbfs (Server
+# This makefile drives the production of the smbfs (Server
# message block file system) kernel module.
#
# sparc architecture dependent
@@ -40,7 +40,6 @@ UTSBASE = ../..
#
MODULE = smbfs
OBJECTS = $(SMBFS_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(SMBFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
#
@@ -52,7 +51,6 @@ include $(UTSBASE)/sparc/Makefile.sparc
# Define targets
#
ALL_TARGET = $(BINARY)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
@@ -63,18 +61,16 @@ $(MODSTUBS_O) := AS_CPPFLAGS += -DSMBFS_MODULE
CLEANFILES += $(MODSTUBS_O)
INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
INC_PATH += -I$(COMMONBASE)/smbclnt
-LDFLAGS += -dy -Ndrv/nsmb
+LDFLAGS += -Ndrv/nsmb
-# Until CR 4994570 is fixed...
-LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
+#
+# For now, disable these warnings; maintainers should endeavor
+# to investigate and remove these for maximum coverage.
+# Please do not carry these forward to new Makefiles.
+#
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += $(CNOWARN_UNINIT)
-# The mb_put/md_get functions are intentionally used with and without
-# return value checks, so filter those out like LGREP.2 does.
-LGREP.nsmb = egrep -v ' ignored: (mb_init|mb_put|md_get)'
-LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
-
#
# Default build targets.
#
@@ -88,12 +84,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#