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

*** 20,29 **** --- 20,30 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright (c) 2011 Bayard G. Bell. All rights reserved. + # Copyright (c) 2018, Joyent, Inc. # # This makefile drives the production of the emlxs driver kernel module. # # Path to the base of the uts directory tree (usually /usr/src/uts). #
*** 93,102 **** --- 94,108 ---- CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-uninitialized + SMOFF += indenting,deref_check,all_func_returns + + # seems definitely wrong + $(OBJS_DIR)/emlxs_fcf.o := SMOFF += logical_instead_of_bitwise + # # Default build targets. # .KEEP_STATE: