Print this page
10077 usr/src/uts/ Makefile changes for smatch

@@ -23,17 +23,11 @@
 # uts/i86xpv/xnf/Makefile
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
-#       This makefile drives the production of the xve
-#       network driver kernel module.
-#
-#       i86xpv architecture dependent
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -71,10 +65,13 @@
 
 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 
+# needs work
+SMATCH=off
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: