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

@@ -20,10 +20,12 @@
 #
 # usr/src/uts/intel/iser/Makefile
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+#
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -43,10 +45,13 @@
 #
 include $(UTSBASE)/intel/Makefile.intel
 
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+$(OBJS_DIR)/iser_ib.o := SMOFF += deref_check
+
 #
 #       Define targets
 #
 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
 LINT_TARGET     = $(MODULE).lint