Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 23,36 ****
# Use is subject to license terms.
#
# Copyright (c) 2010, Intel Corporation.
# All rights reserved.
#
! # This makefile drives the production of the dr driver module.
! #
! # i86pc architecture dependent
! #
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
--- 23,33 ----
# Use is subject to license terms.
#
# Copyright (c) 2010, Intel Corporation.
# All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
*** 70,79 ****
--- 67,79 ----
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-empty-body
+ # needs work
+ SMOFF += index_overflow
+
#
# module dependencies
#
LDFLAGS += -dy -Nmisc/drmach_acpi