10077 usr/src/uts/ Makefile changes for smatch
@@ -10,10 +10,11 @@ # # # Copyright 2016 Garrett D'Amore <garrett@damore.org> # +# Copyright (c) 2018, Joyent, Inc. UTSBASE = ../.. MODULE = sfxge OBJECTS = $(SFXGE_OBJS:%=$(OBJS_DIR)/%)
@@ -50,10 +51,14 @@ # # Driver depends on GLDv3 (mac) # LDFLAGS += -dy -N misc/mac +# needs work +$(OBJS_DIR)/sfxge_ev.o := SMOFF += index_overflow +SMOFF += all_func_returns + # # Default build targets. # .KEEP_STATE: