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

*** 22,36 **** # Copyright 2014 Garrett D'Amore <garrett@damore.org> # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # ! # This makefile drives the production of the ECc kef provider. ! # ! # intel implementation architecture dependent ! # # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. --- 22,32 ---- # Copyright 2014 Garrett D'Amore <garrett@damore.org> # # 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 = ../..
*** 74,83 **** --- 70,85 ---- CERRWARN += -_gcc=-Wno-type-limits CERRWARN += -_gcc=-Wno-empty-body CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-parentheses + # false positive + $(OBJS_DIR)/ecdecode.o := SMOFF += assign_vs_compare + $(OBJS_DIR)/ec.o := SMOFF += assign_vs_compare + + SMOFF += indenting,all_func_returns + # # Default build targets. # .KEEP_STATE: