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

*** 20,29 **** --- 20,31 ---- # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. + # # uts/intel/bpf/Makefile # # # This makefile drives the production of the bpf driver # kernel module.
*** 71,80 **** --- 73,85 ---- LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-uninitialized + # needs work + $(OBJS_DIR)/bpf.o := SMOFF += all_func_returns + # # Default build targets. # .KEEP_STATE: