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

*** 20,31 **** # # 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. ! # # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. --- 20,30 ---- # # uts/intel/fcoet/Makefile # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # ! # Copyright (c) 2018, Joyent, Inc. # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../..
*** 37,46 **** --- 36,48 ---- 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)