Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,32 ****
# uts/i86pc/acpidev/Makefile
#
# Copyright (c) 2009, Intel Corporation.
# All rights reserved.
#
! # Copyright 2016, Joyent, Inc.
#
# This makefile drives the production of the ACPI device configuration
# kernel module.
#
# i86pc architecture dependent
--- 22,32 ----
# uts/i86pc/acpidev/Makefile
#
# Copyright (c) 2009, Intel Corporation.
# All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the ACPI device configuration
# kernel module.
#
# i86pc architecture dependent
*** 64,73 ****
--- 64,76 ----
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-type-limits
+ # needs work
+ SMOFF += deref_check
+
#
# Default build targets.
#
.KEEP_STATE: