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

*** 22,31 **** --- 22,32 ---- # uts/intel/hook/Makefile # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. # # This makefile drives the production of the hook driver kernel module. # # INTEL implementation architecture dependent
*** 50,59 **** --- 51,63 ---- # include $(UTSBASE)/intel/Makefile.intel CERRWARN += -_gcc=-Wno-uninitialized + # needs work + $(OBJS_DIR)/hook.o := SMOFF += all_func_returns + # # Define targets # ALL_TARGET = $(BINARY) LINT_TARGET = $(MODULE).lint