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

*** 20,36 **** # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # - # This makefile drives the production of the gen_drv kernel - # driver to testing hotplugging operations - # - - # # Path to the base of the uts directory tree (usually /usr/src/uts). # UTSBASE = ../.. # --- 20,32 ---- # # # Copyright 2006 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 = ../.. #
*** 62,71 **** --- 58,70 ---- # LINTTAGS += -erroff=E_STATIC_UNUSED CERRWARN += -_gcc=-Wno-unused-variable + # needs work + $(OBJS_DIR)/gen_drv.o := SMOFF += indenting,deref_check + # # Default build targets. # .KEEP_STATE: