Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,12 +20,11 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# This makefile drives the production of the fcoei driver for
-# LEADVILLE.
+# Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
@@ -38,10 +37,13 @@
OBJECTS = $(FCOEI_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(FCOEI_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/fcoei
+# needs work
+SMOFF += all_func_returns
+
#
# Include common rules.
#
include ../Makefile.$(ARCHDIR)