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

@@ -20,10 +20,11 @@
 #
 
 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 # This makefile drives the production of the EoIB Nexus driver
 #
 # intel architecture dependent

@@ -64,10 +65,13 @@
 CFLAGS += $(CCVERBOSE)
 
 CERRWARN        += -_gcc=-Wno-switch
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+$(OBJS_DIR)/eib_ibt.o := SMOFF += deref_check
+
 #
 # Depends on misc/ibtl
 #
 LDFLAGS += -dy -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf