Print this page
10077 usr/src/uts/ Makefile changes for smatch
*** 21,31 ****
--- 21,33 ----
#
# uts/intel/portfs/Makefile
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
+
#
# This makefile drives the production of the portfs driver kernel module.
#
# intel architecture dependent
#
*** 73,82 ****
--- 75,87 ----
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
+ # needs work
+ $(OBJS_DIR)/port_fop.o := SMOFF += deref_check
+
#
# Default build targets.
#
.KEEP_STATE: