summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/smbfs
diff options
context:
space:
mode:
authorGordon Ross <Gordon.Ross@Sun.COM>2009-09-23 22:00:34 -0400
committerGordon Ross <Gordon.Ross@Sun.COM>2009-09-23 22:00:34 -0400
commit878eeb1b7b5326d4b564b97bcde1b89342878beb (patch)
tree411ee2093db3771a68fc49c4b9ff141705c98863 /usr/src/uts/intel/smbfs
parentb248f0fdbc3dc19cf5431f7e039fbfedbe476f09 (diff)
downloadillumos-joyent-878eeb1b7b5326d4b564b97bcde1b89342878beb.tar.gz
6884006 lint noise from smbfs library construction
Diffstat (limited to 'usr/src/uts/intel/smbfs')
-rw-r--r--usr/src/uts/intel/smbfs/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr/src/uts/intel/smbfs/Makefile b/usr/src/uts/intel/smbfs/Makefile
index ed15103d1c..445d40c736 100644
--- a/usr/src/uts/intel/smbfs/Makefile
+++ b/usr/src/uts/intel/smbfs/Makefile
@@ -21,7 +21,7 @@
#
# uts/intel/smbfs/Makefile
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# This makefile drives the production of the smbfs (Server
@@ -65,6 +65,16 @@ C99MODE = $(C99_ENABLE)
INC_PATH += -I$(UTSBASE)/common/fs/smbclnt
LDFLAGS += -dy -Ndrv/nsmb
+LINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
+LINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
+# Until CR 4994570 is fixed...
+LINTTAGS += -erroff=E_BAD_FORMAT_ARG_TYPE2
+
+# 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_put|md_get)'
+LTAIL += 2>&1 | $(LGREP.2) | $(LGREP.nsmb) || true
+
#
# Default build targets.
#