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

@@ -22,11 +22,11 @@
 # uts/i86pc/acpidev/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 device configuration
 #       kernel module.
 #
 #       i86pc architecture dependent

@@ -64,10 +64,13 @@
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-unused-function
 CERRWARN        += -_gcc=-Wno-type-limits
 
+# needs work
+SMOFF += deref_check
+
 #
 #       Default build targets.
 #
 .KEEP_STATE: