summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/mwl
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/mwl')
-rw-r--r--usr/src/uts/intel/mwl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/intel/mwl/Makefile b/usr/src/uts/intel/mwl/Makefile
index 2c268ad0b6..3606a28511 100644
--- a/usr/src/uts/intel/mwl/Makefile
+++ b/usr/src/uts/intel/mwl/Makefile
@@ -22,6 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the rwd driver kernel module.
@@ -67,6 +68,9 @@ LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-value
+# needs work
+SMOFF += return_cast
+
#
# Default build targets.
#