Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -23,13 +23,11 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2014 Garrett D'Amore <garrett@damore.org>
#
-# This makefile drives the production of the scsa2usb driver
-# kernel module. intel architecture dependent
-#
+# Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
@@ -74,10 +72,13 @@
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
+# needs work
+$(OBJS_DIR)/scsa2usb.o := SMOFF += deref_check
+
#
# Default build targets.
#
.KEEP_STATE: