Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,36 ****
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
! #
! # This makefile drives the production of the tcp6 driver kernel module.
! #
! # intel implementation architecture dependent
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 21,31 ----
#
#
# Copyright 2004 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 = ../..
*** 49,58 ****
--- 44,56 ----
#
# Need to remove ipddi.o since it has non-static defines for _init etc.
IP_CHECK_OBJS = $(IP_OBJS:ipddi.o=ip.o)
EXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
+ # needs work
+ SMOFF += index_overflow
+
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel