Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 20,31 ****
#
#
# 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.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 20,30 ----
#
#
# 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 = ../..
*** 38,47 ****
--- 37,49 ----
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)