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

@@ -20,12 +20,11 @@
 #
 # uts/intel/fcoet/Makefile
 #
 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
 #
-# This makefile drives the production of the fcoet driver for COMSTAR.
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 #
 #       Path to the base of the uts directory tree (usually /usr/src/uts).
 #
 UTSBASE = ../..

@@ -37,10 +36,13 @@
 MODULE          = fcoet
 OBJECTS         = $(FCOET_OBJS:%=$(OBJS_DIR)/%)
 LINTS           = $(FCOET_OBJS:%.o=$(LINTS_DIR)/%.ln)
 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
 
+# needs work
+SMOFF += all_func_returns,shift_to_zero
+
 #
 #       Include common rules.
 #
 include ../Makefile.$(ARCHDIR)