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

@@ -21,11 +21,11 @@
 
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright 2016 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 #       This makefile drives the production of the xpv_uppc mach
 #       kernel module.
 #
 #       i86xpv implementation architecture dependent

@@ -62,10 +62,13 @@
 DEBUG_FLGS      =
 DEBUG_DEFS      += $(DEBUG_FLGS)
 
 CERRWARN        += -_gcc=-Wno-unused-function
 
+# needs work
+$(OBJS_DIR)/psm_common.o := SMOFF += deref_check
+
 #
 #
 # Depends on ACPI CA interpreter
 #
 LDFLAGS         += -dy -N misc/acpica