Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,34 ****
# uts/intel/fcip/Makefile
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # This makefile drives the production of fcip driver kernel module.
! #
! # i86pc architecture dependent
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 21,31 ----
# uts/intel/fcip/Makefile
#
# Copyright 2008 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 = ../..
*** 72,81 ****
--- 69,81 ----
LINTTAGS += -erroff=E_INCONS_VAL_TYPE_USED2
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
+ # needs work
+ SMATCH=off
+
#
# Default build targets.
#
.KEEP_STATE: