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

@@ -22,11 +22,11 @@
 # uts/i86pc/acpinex/Makefile
 #
 # Copyright (c) 2009, Intel Corporation.
 # All rights reserved.
 #
-# Copyright 2016, Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 #       This makefile drives the production of the ACPI virtual nexus 
 #       kernel module.
 #
 #       intel platform dependent

@@ -62,10 +62,13 @@
 #
 LDFLAGS         += -dy -N misc/acpica -N misc/acpidev
 
 CERRWARN        += -_gcc=-Wno-unused-function
 
+# needs work
+SMOFF += deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: