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

@@ -22,11 +22,11 @@
 # uts/i86pc/pcplusmp/Makefile
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright 2017, Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 #
 #       This makefile drives the production of the pcplusmp "mach"
 #       kernel module.

@@ -65,10 +65,15 @@
 #
 # Depends on ACPI CA interpreter
 #
 LDFLAGS         += -dy -N misc/acpica
 
+# needs work
+$(OBJS_DIR)/mp_platform_common.o := SMOFF += indenting
+# needs work
+$(OBJS_DIR)/psm_common.o := SMOFF += deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: