Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -20,11 +20,13 @@
#
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
+
#
# uts/intel/sda/Makefile
#
# This makefile drives the production of the sda "misc"
# kernel module.
@@ -74,10 +76,13 @@
#
MAPFILE = $(UTSBASE)/common/io/sdcard/impl/mapfile
LDFLAGS += -dy -Ndrv/blkdev -B reduce -M $(MAPFILE)
CTFMRGFLAGS += -f
+# needs work
+SMOFF += all_func_returns
+
#
# Default build targets.
#
.KEEP_STATE: