summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4v/px/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4v/px/Makefile')
-rw-r--r--usr/src/uts/sun4v/px/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/uts/sun4v/px/Makefile b/usr/src/uts/sun4v/px/Makefile
index c689546713..e1389799b0 100644
--- a/usr/src/uts/sun4v/px/Makefile
+++ b/usr/src/uts/sun4v/px/Makefile
@@ -75,6 +75,18 @@ CFLAGS += $(CCVERBOSE)
#
CFLAGS += -dalign
+#
+# For now, disable these lint checks; maintainers should endeavor
+# to investigate and remove these for maximum lint coverage.
+# Please do not carry these forward to new Makefiles.
+#
+LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
+LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
+LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+LINTTAGS += -erroff=E_STATIC_UNUSED
+LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
+LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
+
# Dependency
#
LDFLAGS += -dy -Nmisc/busra -Nmisc/pcie -Nmisc/pciehpc -Nmisc/pcihp