Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 22,32 ****
# uts/i86pc/acpinex/Makefile
#
# Copyright (c) 2009, Intel Corporation.
# All rights reserved.
#
! # Copyright 2016, Joyent, Inc.
#
# This makefile drives the production of the ACPI virtual nexus
# kernel module.
#
# intel platform dependent
--- 22,32 ----
# uts/i86pc/acpinex/Makefile
#
# Copyright (c) 2009, Intel Corporation.
# All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the ACPI virtual nexus
# kernel module.
#
# intel platform dependent
*** 62,71 ****
--- 62,74 ----
#
LDFLAGS += -dy -N misc/acpica -N misc/acpidev
CERRWARN += -_gcc=-Wno-unused-function
+ # needs work
+ SMOFF += deref_check
+
#
# Default build targets.
#
.KEEP_STATE: