Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 1,11 ****
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # uts/intel/agpgart/Makefile
! #
#
# This makefile drives the framework of agp protocol
# (agpgart) kernel module.
#
--- 1,10 ----
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the framework of agp protocol
# (agpgart) kernel module.
#
*** 37,46 ****
--- 36,48 ----
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ # needs work
+ $(OBJS_DIR)/agpgart.o := SMOFF += deref_check
+
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#